Click or drag to resize

PermissionConfiguration Class

Holds the complete permission model: the known users, roles and operations, together with the assignments that map users to roles and operations to roles.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.PermissionPermissionConfiguration

Namespace: RAYLASE.Marker.Permission
Assembly: RAYLASE.Marker.Permission (in RAYLASE.Marker.Permission.dll) Version: 2.50.0
Syntax
C#
public class PermissionConfiguration

The PermissionConfiguration type exposes the following members.

Constructors
 NameDescription
Public methodPermissionConfiguration Initializes a new, empty PermissionConfiguration with all collections and maps created but containing no entries.
Top
Properties
 NameDescription
Public propertyOperationRoleMap Gets the mapping of role name (see Name) to the set of operations granted to that role.
Public propertyOperations Gets the set of all available operations.
Public propertyRoles Gets the set of all defined roles.
Public propertyUserRoleMap Gets the mapping of role name (see Name) to the set of users assigned to that role.
Public propertyUsers Gets the set of all known users.
Top
Methods
 NameDescription
Public methodClear Removes all users, roles, operations and role assignments, resetting the configuration to its empty state.
Public methodCopyFrom Replaces the contents of this configuration with a copy of the entries from source. Existing entries are cleared first.
Top
See Also