Skip to content

script.getTaggedUsers deprecated ​

Returns the users that have an access tag in the application the process was run from. Returns "[]" when the process wasn't run from an application.

js
script.getTaggedUsers(tag)

Parameters ​

ParameterTypeDescription
tagstringThe tag's name.

Returns ​

string

The users, as a JSON array string. Each user has an id, name and email. Use JSON.parse() to read it.

Examples ​

js
const users = JSON.parse(script.getTaggedUsers("Finance"));