Skip to content

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 ​

ParameterTypeDescription
applicationIdstringThe application id.
userIdnumberThe user's id.

Returns ​

string

A 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));