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)
Available in Sandboxed Solutions: No

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)]
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.
Show: