Skip to content

security.applicationAddUser deprecated ​

Adds a user to an application.

Deprecated

Use app.users.add(user) instead.

js
security.applicationAddUser(applicationId, userId, tags)

Parameters ​

ParameterTypeDescription
applicationIdstringThe application id.
userIdnumberThe user's id.
tagsstringTags split by a comma.

Returns ​

boolean

true if the user was added; false if the application was not found.

Examples ​

js
const added = security.applicationAddUser("MyActivityId", 1, "Admin, All Scenarios");