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', '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()