SPPermissionCollection.RemoveCollection Method
NOTE: This API is now obsolete.
Removes the permissions represented by an integer array of member IDs from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")> _
Public Sub RemoveCollection ( _
removeIds As Integer() _
)
'Usage
Dim instance As SPPermissionCollection
Dim removeIds As Integer()
instance.RemoveCollection(removeIds)
[ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")]
public void RemoveCollection(
int[] removeIds
)
Parameters
removeIds
Type: []A 32-bit integer array that specifies an array of member IDs.
Remarks
The parameter of the RemoveCollection method consists of an array of ID property values for the SPMember objects associated with the permissions to remove.