Skip to content

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 ​

ParameterTypeDescription
applicationIdOrNamestringThe application id.
tagNamestringThe access tag's name to check.

Returns ​

object

An object whose keys are user ids and whose values are the corresponding user objects.

Examples ​

js
const approvers = security.applicationUsersWithTag("Finance App", "Approvers");