security.applicationUsersWithTag deprecated
Returns an object of users and their information that have a specified tag within a given application.
Deprecated
Use app.tags.get(tag).users() instead.
js
security.applicationUsersWithTag(applicationIdOrName, tagName)Parameters
| Parameter | Type | Description |
|---|---|---|
applicationIdOrName | string | The application id. |
tagName | string | The access tag's name to check. |
Returns
objectAn object whose keys are user ids and whose values are the corresponding user objects.
Examples
js
const approvers = security.applicationUsersWithTag("Finance App", "Approvers");