UNPKG

@digitalpersona/services

Version:
28 lines (16 loc) 896 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/services](./services.md) &gt; [IAdminService](./services.iadminservice.md) &gt; [UnlockUserAccount](./services.iadminservice.unlockuseraccount.md) ## IAdminService.UnlockUserAccount() method Unlocks previously locked user account. <b>Signature:</b> ```typescript UnlockUserAccount(ticket: Ticket, user: User): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | ticket | <code>Ticket</code> | a ticket with a JSON Web Token of the user who would like to unlcok the user account. The owner of the token must have permissions to unlock user accounts. | | user | <code>User</code> | the user whose account is to be unlocked. | <b>Returns:</b> `Promise<void>` a promise to unlock the user account.