SPUserCollection.AddCollection Method
Adds a collection of users to the existing collection based on an array that specifies user information.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)> _
Public Sub AddCollection ( _
addUsersInfo As SPUserInfo() _
)
'Usage
Dim instance As SPUserCollection
Dim addUsersInfo As SPUserInfo()
instance.AddCollection(addUsersInfo)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.Struct)]
public void AddCollection(
SPUserInfo[] addUsersInfo
)
Parameters
addUsersInfo
Type: []An array of Microsoft.SharePoint.SPUserInfo field values that specify user information.