The methods of the Role class are listed below. For a complete list of Role class members, see the Role Members topic.
Delete | Overloaded. Deletes role with specific RoleId. |
GetAllRoles | Gets all roles. |
GetUsers | Overloaded. Gets users that have role with specific RoleId. |
New | Overloaded. Creates new role. |
Delete | Overloaded. Deletes this role. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
GetUsers | Overloaded. Gets users that have this role. |
HasRight | Overloaded. Checks if a right is part of this role. |
Load | Overloaded. Loads this role. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Update | Updates this role. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |