Partilhar via


SPUserCollection.RemoveCollection Method

Removes the collection of users represented by a string array that contains their user names.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub RemoveCollection ( _
    removeUsersLoginNames As String() _
)
'Usage
Dim instance As SPUserCollection
Dim removeUsersLoginNames As String()

instance.RemoveCollection(removeUsersLoginNames)
public void RemoveCollection(
    string[] removeUsersLoginNames
)

Parameters

  • removeUsersLoginNames
    Type: []

    A string array that contains the user names of users to be removed.

See Also

Reference

SPUserCollection Class

SPUserCollection Members

Microsoft.SharePoint Namespace