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)

Syntax

'Declaration
Public ReadOnly Property SiteGroups As GroupCollection
    Get
'Usage
Dim instance As Web
Dim value As GroupCollection

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

Property value

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

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace