|  | Aqualogic Interaction API | |
| IPTSession.ChangePassword Method |
Changes the current user's password. This method is preferred for changing passwords because the user object itself may not be editable by the current user. Checks for object locks and fails if another user is editing the user object.
Can only be called on users that are brought in under the intrinsic Plumtree Authentication Source (e.g. only works with users created within Plumtree, cannot change passwords for users brought in from external authentication sources). Cannot be called for the built-in Guest user's IPTSession.
The new password's length in characters must be less than that specified in the PT_SERVERCONTSTANTS.PT_MAX_PASSWORDSIZE, and cannot contain the newline, carriage return, or tab characters.
void ChangePassword(
string strOldPassword,
string strNewPassword
);
Parameters
- strOldPassword
- - The old password.
- strNewPassword
- - The new password.
See Also
IPTSession Interface | com.plumtree.server Namespace