SPRoleAssignmentCollection Methods
Include Protected Members
Include Inherited Members
The SPRoleAssignmentCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
Add(SPPrincipal) | Creates a new role assignment for a specified security principal and gives the security principal guest access to objects in the current scope and in all parent scopes. |
![]() |
Add(SPRoleAssignment) | Adds a role assignment to the collection of role assignment objects. |
![]() |
AddToCurrentScopeOnly | Adds a role assignment to the collection of role assignment objects at the current scope. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetAssignmentByPrincipal | Gets the role assignment object based on the specified user or group. |
![]() |
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.) |
![]() |
Remove(Int32) | Removes the user or group at the specified index from the collection. |
![]() |
Remove(SPPrincipal) | Removes the specified user or group from the role assignment collection. |
![]() |
RemoveById | Removes the user or group with the specified identifier (ID) from the role assignment collection. |
![]() |
RemoveFromCurrentScopeOnly | Removes the specified user or group from the current security scope. |
![]() |
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)