Skip to content

script.getAccessTags deprecated ​

Returns a user's access tags in the application the process was run from. Returns "[]" when the process wasn't run from an application.

js
script.getAccessTags(userId)

Parameters ​

ParameterTypeDescription
userIdstringThe user's id.

Returns ​

string

The tag names, as a JSON array string. Use JSON.parse() to read it.

Examples ​

js
const access = JSON.parse(script.getAccessTags("123"));