getCatalogGroups

Function

Return an IGroupsByMembership object that contains all the groups, from all the collections/scopes in the catalog, which the current user is an owner/member/admin of.

Parameters

Parameter Type Default Notes
catalog Required IHubCatalog
context Required IArcGISContext

Returns

Property Type Notes
admin string[]

Groups where the user is an admin, allowing them to add / remove members, as well as share content they do not own

member string[]

Groups where the user is a member. ViewOnly groups will not be included in this list.

owner string[]

Groups where the user is the owner, allowing them to add / remove members, as well as share content they do not own


Function defined in common/src/search/_internal/getCatalogGroups.ts:15