Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


search: keywords: ['java', 'osecurityrole', 'getname']

OSecurityRole - getName()

Retrieves the logical name for the role.

Logical Names

OrientDB provides logical names to easily reference roles from the console or in other applications. Using this method, you can retrieve the logical name for the role from the database.

Syntax

String OSecurityRole().getName()

Return Value

This method returns a String instance. It contains the logical name for the role.