ThePermissionList |
Scroll |
In addition to being a type-safe container for ThePermisison objects, the ThePermission maintains a reference the User having the contained permissions and provides type specific methods, such as AllowAll and DenyAll.
Features include:
Adding and removing permissions
Accessing permissions by index
For-Each iteration
User information
Namespace: Therefore.API
|
Name |
Description |
Gets the number of ThePermission items. |
|
Gets or sets the ThePermission with the specified index. |
|
Gets or sets the TheUser whose access rights the permission list controls. |
Name |
Description |
Overloaded. Adds a new or existing ThePermission to the list. |
|
Adds all permissions contained in the specified TheAccessMask. |
|
Adds all ThePermission elements of the specified ThePermissionList. |
|
Sets the Allow permission for all ThePermission objects in the list. |
|
Removes all elements from the list. |
|
Creates and returns a copy of the list. |
|
Checks if the permission list contains a permission equal to the specified permission. |
|
Sets the Deny permission for all ThePermission objects in the list. |
|
Looks for a permission equal to the specified one and returns it. |
|
Returns all permissions contained in the list as a TheAccessMask object. |
|
Returns an enumerator for this list. |
|
Removes the item with the specified index from the list. |
|
Returns a string representation of the object (for debugging). |