UNPKG

@digitalpersona/enrollment

Version:
31 lines (17 loc) 916 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/enrollment](./enrollment.md) &gt; [PasswordEnroll](./enrollment.passwordenroll.md) &gt; [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").