search: keywords: ['java', 'osecurityuser', 'getdocument']

OSecurityUser - getDocument()

Retrieves the document of the user.

Role Document

Internally, OrientDB stores the user as a document in the database. Using this method, you can retrieve the document for further operation.

Syntax

ODocument OSecurityUser().getDocument()