Skip to content

security.getUserEmail

Get the email address of a user from its userId integer.

js
security.getUserEmail(userId)

Parameters

  • userId - User ID.

Example

js
let email = security.getUserEmail(1234); // jane.doe@example.com