getEventGroups

Function

Fetches the groups an event is shared with

  • getEventGroups(eventId: string, context: IArcGISContext) : Promise<IGroup[]>

Parameters

Parameter Type Default Notes
eventId Required string

The ID of the event to fetch the groups for

context Required IArcGISContext

An IArcGISContext object

Returns

Promise<IGroup[]>

Function defined in common/src/events/getEventGroups.ts:11