Readonly
allowedReadonly
avatarReadonly
currentReadonly
documentReadonly
emailReadonly
fallbackReadonly
hasReadonly
hasReadonly
hasReadonly
hasReadonly
isReadonly
languageReadonly
languagesReadonly
mediaReadonly
nameReadonly
permissionsReadonly
uniqueReadonly
userThe addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optional
options: boolean | AddEventListenerOptionsCallback method called when context is resolved.
Reference to the created Context Consumer Controller instance
The dispatchEvent()
method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Get the allowed sections for the current user
The allowed sections for the current user
Get the avatar urls for the current user
The avatar urls for the current user
Optional
options: UmbClassGetContextOptionsA Promise with the reference to the Context Api Instance
Get the document start node uniques for the current user
The document start node uniques for the current user
Get the email for the current user
The email for the current user
Get the fallback permissions for the current user
The fallback permissions for the current user
Get if the current user has access to all languages
True if the current user has access to all languages, otherwise false
Get if the current user has access to sensitive data
True if the current user has access to sensitive data, otherwise false
Get if the current user has document root access
True if the current user has document root access, otherwise false
Get if the current user has media root access
True if the current user has media root access, otherwise false
Get if the current user is an admin
True if the current user is an admin, otherwise false
Get the language iso code for the current user
The language iso code for the current user
Get the languages for the current user
The languages for the current user
Get the media start node uniques for the current user
The media start node uniques for the current user
Get the name for the current user
The name for the current user
Get the permissions for the current user
The permissions for the current user
Get the unique for the current user
The unique for the current user
Get the user name for the current user
The user name for the current user
Checks if the current user is an admin.
True if the current user is an admin, otherwise false
Checks if a user is the current user.
The user id to check
True if the user is the current user, otherwise false
Loads the current user
An Observable to observe from.
Optional
callback: ObserverCallback<SpecificT>Callback method called when data is changed.
Optional
controllerAlias: null | UmbControllerAliasDefine an explicit controller alias. If not defined then one will be generated based on the callback function. If null is parsed no controller alias will be given.
Reference to the created Observer Controller instance.
The API instance to be exposed.
Reference to the created Context Provider Controller instance
The removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optional
options: boolean | EventListenerOptions
This base provides the necessary for a class to become a context-api controller.