A class representing a single User
The ID of the user
The users username
The users email
The type of user
The page number that the user is currently viewer. Will only be set if the
enableConnectedUsers parameter was set to true
A boolean representing if the user is the currently signed in user
Gets all documents for the current user
WARNING: This function can become slow if the user belongs to a lot of documents. It is recommended to use "getDocumentPaginator" instead
Creates a document entity in the database. The author of the document will be this user. Throws an error if called on a User instance that is not the currently signed in user.
To display the resulting document in the viewer, call the Document.view function on the resulting [[Document]]
Gets a [[Document]] belonging to the user. Returns null if the document could not be found
The ID of the document
Logs out the current user.
Generated using TypeDoc