Web.SiteGroups property

Gets the collection of groups for the site collection.

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

public GroupCollection SiteGroups { get; }

Property value

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