security.applicationUserSetTags
Sets tag (removes existing tags and adds this) to an user in an application. Returns a boolean value depending on the outcome.
js
security.applicationUserSetTags(applicationId, userId, tag)
Parameters
applicationId
- Identifier of the activity.userId
- Identifier of the user (Integer).tag
- Tag names or identifiers.
Example
js
let boolean = security.applicationUserSetTags("MyActivityId", 1, "Admin");