DataModelPrivilege

DataModelPrivilege

Represents a privilege which is defined in a data model and it may be given in users and groups

Constructor

new DataModelPrivilege()

Properties:
Name Type Description
mask PermissionMask Gets or sets the set of permissions which may be given with this privilege.
type PrivilegeType | string Gets or sets the type of this privilege (global|parent|item|self).
filter string Gets or sets a filter expression which is going to be used for self privileges. The defined set of permissions are automatically assigned if the requested objects fulfill filter criteria. (e.g. read-write permissions for a user's associated person through the following expression:"user eq me()")
account string Gets or sets a wildcard (*) expression for global privileges only. The defined set of permissions are automatically assigned to all users (e.g. read permissions for all users)
Source: