Gets a list of the groups that are associated with the Web site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public ReadOnly Property AssociatedGroups As IList(Of SPGroup)
Dim instance As SPWeb
Dim value As IList(Of SPGroup)
value = instance.AssociatedGroups
public IList<SPGroup> AssociatedGroups { get; }
Property Value
A System.Collections.IList interface that provides a list of the groups that are associated with the Web site.