Export (0) Print
Expand All

SPRoleAssignmentCollection Methods

The SPRoleAssignmentCollection type exposes the following members.

  NameDescription
Public method 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.
Public method Add(SPRoleAssignment) Adds a role assignment to the collection of role assignment objects.
Public method AddToCurrentScopeOnly Adds a role assignment to the collection of role assignment objects at the current scope.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAssignmentByPrincipal Gets the role assignment object based on the specified user or group.
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method Remove(Int32) Removes the user or group at the specified index from the collection.
Public method Remove(SPPrincipal) Removes the specified user or group from the role assignment collection.
Public method RemoveById Removes the user or group with the specified identifier (ID) from the role assignment collection.
Public method RemoveFromCurrentScopeOnly Removes the specified user or group from the current security scope.
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)
Top

  NameDescription
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft