Share via


SP.Taxonomy.TermStore.getSiteCollectionGroup Method (sp.taxonomy)

Returns the associated site collection group for the SP.Site object (sp.js) object.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Taxonomy.TermStore.getSiteCollectionGroup(e, d)

Return value

SP.Taxonomy.TermGroup

Parameters

  • currentSite
    The site collection containing the TermGroup object to retrieve.

  • createIfMissing
    Indicates whether to create a new TermGroup object if one does not exist yet for the specified site collection.

Remarks

If the associated site collection group for the Site object has not been created, then the GetSiteCollectionGroup method will create it.