SPWeb Properties


SPWeb.AssociatedGroups Property (Microsoft.SharePoint)
Gets a list of the groups that are associated with the Web site.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

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

value = instance.AssociatedGroups
C#
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.
See Also

Tags :


Page view tracker