Skip to content

security.getUserName

Get the user's name from their userId (integer).

js
security.getUserName(userId)

Parameters

  • userId - User ID.
js
let userName = security.getUserName(1234); // "Jane Doe"