Share via


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

'Declaration
Public ReadOnly Property AssociatedGroups As IList(Of SPGroup)
    Get
'Usage
Dim instance As SPWeb
Dim value As IList(Of SPGroup)

value = instance.AssociatedGroups
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