Skip to content

security.applicationRemoveUser deprecated ​

Removes a user from an application.

Deprecated

Use app.users.remove(user) instead.

js
security.applicationRemoveUser(applicationId, userId)

Parameters ​

ParameterTypeDescription
applicationIdstringThe application id.
userIdnumberThe user's id.

Returns ​

boolean

true if the user was removed; false if the application was not found.

Examples ​

js
const removed = security.applicationRemoveUser("MyActivityId", 1);