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.