Share via


GetCollection Method

The GetCollection method of the SPUserCollection class returns the collection of users with the specified user names.

Parameters

loginNames   A string array that contains the user names.

Return Value

A Microsoft.SharePoint.SPUserCollection object that represents the users.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security