The PermissionsFacade type exposes the following members.

Methods

  NameDescription
Public methodStatic memberGetPermissions
This method will return all allowed permission for the given userToken and given the entityToken.
Public methodStatic memberGetPermissionsForCurrentUser
This method will return all allowed permission for the current logged in user given the entityToken.
Public methodStatic memberIsAdministrator
This method returns true if the given username username has admin rights on the root element. This is normal way of creating a administrator in C1.

See Also