SPRoleAssignmentCollection.Add Method
SharePoint 2010
Adds a role assignment to the role assignment collection.
| 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. |