---
url: /process-functions/security-resetuserpassword.md
description: Send a Reset Password link to a user so they can reset their password.
---

# security.resetUserPassword

Send a Reset Password link to a user so they can reset their password. The link is sent through email. Returns true if the reset link has been sent.

```js
security.resetUserPassword(userId);
```

#### Parameters

* `userId` - The user's User ID.

#### Example

```js
let success = security.resetUserPassword(1234); // Returns true if successful
```

:::tip
Note that the email might reach the user within a few minutes.
:::
