IPWorks Auth 2020 macOS Edition

Questions / Feedback?

ChangePassword Method

Changes the password for the specified user.

Syntax

public func changePassword(user: String, oldPassword: String, newPassword: String) throws -> 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 ADPort 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) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 macOS Edition - Version 20.0 [Build 8155]