Skip to content

security.applicationUserSetTags deprecated ​

Replaces all of a user's tags in an application with the supplied comma-separated list.

Deprecated

Use app.tags.userSetTags(user, tags) instead.

js
security.applicationUserSetTags(applicationId, userId, tags)

Parameters ​

ParameterTypeDescription
applicationIdstringThe application id.
userIdnumberThe user's id.
tagsstringTag ids or names, separated by commas.

Returns ​

boolean

true if the user's tags were updated; false if the application was not found.

Examples ​

js
const updated = security.applicationUserSetTags("MyActivityId", 1, "Admin");