getEntityGroups

Function

Fetches an array of groups the entity is shared with

Parameters

Parameter Type Default Notes
entity Required IHubItemEntity

An IHubItemEntity

context Required IArcGISContext

An IArcGISContext

Returns

a promise that resolves an array of groups the entity is shared with

Promise<IGroup[]>

Function defined in common/src/core/getEntityGroups.ts:14