SPRoleDefinitionCollection Methods
Include Protected Members
Include Inherited Members
The SPRoleDefinitionCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
Add | Adds a new role definition to the collection. |
![]() |
BreakInheritance | Breaks role definition inheritance and gives the current Web site its own copy of the role definitions. |
![]() |
Delete(Int32) | Deletes the role definition at the specified index in the collection. |
![]() |
Delete(String) | Deletes the role definition with the specified display name from the collection. |
![]() |
DeleteById | Deletes the role definition with the specified ID from the collection. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetById | Gets the role definition with the specified ID from the collection. |
![]() |
GetByType | Returns the role definition of the specified type from the collection. |
![]() |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | (Inherited from SPAutoSerializingObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | (Inherited from SPAutoSerializingObject.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |
Top
.gif)
.gif)
.gif)
.gif)