This documentation is archived and is not being maintained.

SPUser.Groups Property

Windows SharePoint Services 3

Gets the collection of groups of which the user is a member.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPGroupCollection Groups { get; }

Property Value

Type: Microsoft.SharePoint.SPGroupCollection
An SPGroupCollection object that represents the groups.
Show: