security.applicationUserTags deprecated
Returns the tags held by a user in an application as a JSON-encoded array of {id, name} objects.
Deprecated
Use app.tags.userGetTags(user) instead.
js
security.applicationUserTags(applicationId, userId)Parameters
| Parameter | Type | Description |
|---|---|---|
applicationId | string | The application id. |
userId | number | The user's id. |
Returns
stringA JSON-encoded array of { id, name } objects, one per tag the user holds. "[]" when the application is not found.
Examples
js
const tags = JSON.parse(security.applicationUserTags("MyActivityId", 1));