changePassword (method)

Changes the password for the specified user.

Syntax

- (void)changePassword:(NSString*)user :(NSString*)oldPassword :(NSString*)newPassword;
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 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) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 iOS Edition - Version 20.0 [Build 8155]