Web.SiteGroups Property

Gets the collection of groups for the site collection.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property SiteGroups As GroupCollection
    Get
'Usage
Dim instance As Web
Dim value As GroupCollection

value = instance.SiteGroups
[RemoteAttribute]
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