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
| Parameter | Type | Description |
|---|---|---|
applicationId | string | The application id. |
userId | number | The user's id. |
tags | string | Tag ids or names, separated by commas. |
Returns
booleantrue if the user's tags were updated; false if the application was not found.
Examples
js
const updated = security.applicationUserSetTags("MyActivityId", 1, "Admin");