Share via


User.Groups property

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

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

Syntax

'Declaration
Public ReadOnly Property Groups As GroupCollection
    Get
'Usage
Dim instance As User
Dim value As GroupCollection

value = instance.Groups
public GroupCollection Groups { get; }

Property value

Type: Microsoft.SharePoint.Client.GroupCollection
A GroupCollection object that represents the groups.

See also

Reference

User class

User members

Microsoft.SharePoint.Client namespace