setEntityAccess

Function

Sets an entity's access to the given access

Parameters

Parameter Type Default Notes
entity Required HubEntity

A HubEntity object

access Required SettableAccessLevel

The access to set the entity to

context Required IArcGISContext

An IArcGISContext object

Returns

a promise

Promise<void>

Function defined in common/src/core/setEntityAccess.ts:16