Changes the password for the specified user.
async ldap.changePassword(user : string, oldPassword : string, newPassword : string): Promise<void>
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.