TheRoleAssignments |
Scroll |
A type-safe container for TheRoleAssignment objects used to load and change role assignments on any supported object.
Features include:
Assigning roles to users
Enabling and disabling inheritance
Display the role assignment dialog
Namespace: Therefore.API
Visual Basic Public Class TheRoleAssignments C# public class TheRoleAssignments |
Name |
Description |
Gets the number of TheRoleAssignment items. |
|
Whether or not the role assignments of the currently loaded object are inherited from its parent. |
|
Gets or sets the TheRoleAssignment with the specified index. |
Name |
Description |
Adds a role assignment. |
|
Disables the inheritance on the current object. |
|
Enables the inheritance on the current object and updates the role assignments. |
|
Checks if the role assignment for the specified user with the specified role exists in the current object. |
|
Gets the role assignment for the specified user with the specified role. |
|
Returns an enumerator for this list. |
|
Loads the role assignments for the specified Thereforeâ„¢ object from the TheServer. |
|
Removes the item with the specified index from the list. |
|
Saves all changes to the ThereforeÂâ„¢ server. |
|
Displays the role assignment dialog for the current object. |
|
Returns a string representation of the object (for debugging). |