DirHumanParticipant.changePassword(oldPassword,newPassword)

Changes the participant's password. This method changes the participant's directory service password.

Regular participants may only change their own passwords. Administrators may change the password of any Participant. If this method is invoked from a session of a regular participant, the old password must be passed for verification. If the participant has encrypted properties stored, they are re-encrypted with the new password, but if it is the Administrator changing the password, then the properties are deleted.

Arguments:

Name Type Description Mode
oldPassword String the current password, cannot be null if the session's participant is not an administrator in
newPassword String the new password, cannot be null in