checkEntityPolicy
Validate user meets entity policy
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
policy Required | IEntityPermissionPolicy | ||
context Required | IArcGISContext |
Returns
Property | Type | Notes |
---|---|---|
string |
Policy Response code, for i18n |
|
string |
Description of the policy being checked e.g. License Required: "hub-premium" |
|
PolicyResponse |
Policy Response string |
|
string |
Value determined for the current user e.g. "hub-basic" |
Function defined in common/src/permissions/_internal/checkEntityPolicy.ts:17