The SetPassword method sets a new password for the user.
Syntax
The SetPassword method has the following format:
Netegrity::PolicyMgtUser‑>SetPassword(newPwd[, oldPwd])
Parameters
The SetPassword method accepts the following parameters:
newPwd (string)
Specifies the new password.
oldPwd (string)
(Optional) Specifies the old password to change.
Note: If provided, this value must match the existing password in the user directory.
Return Value
The SetPassword method returns one of the following values:
Specifies that the password change is successful.
Specifies that the password change is unsuccessful.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |