security.applicationTaggedUsers deprecated
Returns the users holding a particular tag in an application as a JSON-encoded array.
Deprecated
Use app.tags.get(tag).users() instead.
js
security.applicationTaggedUsers(applicationId, tag)Parameters
| Parameter | Type | Description |
|---|---|---|
applicationId | string | The application id. |
tag | string | The tag name or id. |
Returns
stringA JSON-encoded array of user objects for the members holding the given tag. "[]" when the application is not found.
Examples
js
const users = JSON.parse(security.applicationTaggedUsers("MyActivityId", "Tag"));