Skip to content

security.currentUserId deprecated ​

Retrieves the user id of the current user.

js
security.currentUserId()

Returns ​

string

Examples ​

js
const userId = security.currentUserId();