@digitalpersona/enrollment
Version:
DigitalPersona Enrollment API
31 lines (17 loc) • 916 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/enrollment](./enrollment.md) > [PasswordEnroll](./enrollment.passwordenroll.md) > [reset](./enrollment.passwordenroll.reset.md)
## PasswordEnroll.reset() method
Resets a password.
<b>Signature:</b>
```typescript
reset(newPassword: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| newPassword | <code>string</code> | a new password which will replace any existing password. |
<b>Returns:</b>
`Promise<void>`
a promise to perform the password reset or reject in case of an error.
## Remarks
DigitalPersona AD Server supports password randomization only for ActiveDirectory users. DigitalPersona LDS Server supports password randomization only for DigitalPersona users (formerly "Altus Users").