Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the collection of groups of which the user is a member.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Groups As SPGroupCollection
Get
'Usage
Dim instance As SPUser
Dim value As SPGroupCollection
value = instance.Groups
public SPGroupCollection Groups { get; }
Property Value
Type: Microsoft.SharePoint.SPGroupCollection
An SPGroupCollection object that represents the groups.