The UserProxy class gives access to the current user on the current Lucid document.
Constructors
new UserProxy()
new UserProxy(client): UserProxy
Parameters
Parameter | Type |
---|---|
client | EditorClient |
Returns
Properties
id
readonly id: string;
Methods
getAccessPermssionOnDocument()
getAccessPermssionOnDocument(): DocumentAccessPermission
Returns
DocumentAccessPermission
the permission the user has on the current document.