Skip to content

security.applicationAddUser

Adds a user to an application.

js
security.applicationAddUser(applicationId, userId, tags)

Parameters

  • applicationId - Identifier of the activity.
  • userId - Identifier of the user (Integer).
  • tags - Tags that should be set (Comma delimited string).

Example

js
let arr = security.applicationAddUser("MyActivityId", 1, "Admin, All Scenarios");