---
url: /process-functions/security-getuseremail.md
description: Get the email address of a user from its userId integer.
---

# 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
```
