OSecurityUser - getName()
Retrieves the logical name of the user.
Where your Java application interacts with users through the
OSecuirtyUser interface, in OrientDB SQL the users are identified by their logical names. Using this method, you can retrieve the logical name for the user, which you may find useful for logging and authentication purposes.
This method returns a
String value, which provides the logical name of the user.