security.applicationTaggedElements deprecated
Returns the elements available to a tag in an application as a JSON-encoded array.
Deprecated
Use app.tags.get(tag).access() instead.
js
security.applicationTaggedElements(applicationId, tag, nLevel)Parameters
| Parameter | Type | Description |
|---|---|---|
applicationId | string | The application id. |
tag | string | The tag name or id. |
nLevel | boolean | Whether to include parent levels. |
Returns
stringA JSON-encoded array of the elements the tag grants access to. "[]" when the application is not found.
Examples
js
const elements = JSON.parse(security.applicationTaggedElements("MyActivityId", "employee", true));