Share via


GetCollection Method

The GetCollection method of the SPGroupCollection class returns from the collection a collection of cross-site groups specified by an array of names.

Parameters

names   A string array that contains the names.

Return Value

A Microsoft.SharePoint.SPGroupCollection object that represents the cross-site groups.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security