SPWeb.AssociatedGroups property

Gets a list of the groups that are associated with the website.

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

Syntax

public IList<SPGroup> AssociatedGroups { get; }

Property value

Type: System.Collections.Generic.IList<SPGroup>
A System.Collections.IList interface that provides a list of the groups that are associated with the website.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace