IPWorks Auth 2020 JavaScript Edition

Questions / Feedback?

ChangePassword Method

Changes the password for the specified user.

Syntax

async ldap.changePassword(user : string, oldPassword : string, newPassword : string): Promise<void>

Remarks

This method changes the password for the specified user.

The User parameter is the name of the user for which the password will be changed. OldPassword specifies the current paswsword and NewPassword specifies the new password.

Note: This operation can only be performed over the SSL Port. Set ServerPort to the SSL port of the server (typically 636) before calling this method.

Note: If the user is an administrator the old password is not required.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Auth 2020 JavaScript Edition - Version 20.0 [Build 7721]