TermStore.Groups Property

Gets a collection of the child Group objects of this TermStore object

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

Syntax

'Declaration
Public ReadOnly Property Groups As GroupCollection
    Get
'Usage
Dim instance As TermStore
Dim value As GroupCollection

value = instance.Groups
public GroupCollection Groups { get; }

Property Value

Type: Microsoft.SharePoint.Taxonomy.GroupCollection
A collection of the child Group objects of this TermStore

Remarks

If the current user is a farm or tenant admin then all Group objects will be returned, including site collection groups. Otherwise, all global groups will be returned, and only the site collection group for the current site will be returned if it exists.

See Also

Reference

TermStore Class

TermStore Members

Microsoft.SharePoint.Taxonomy Namespace

Group

GetGroup(Guid)

IsSiteCollectionGroup