ChangePassword (four parameters)

Changes the password for the vault. Use this method when the vault is locked

This overloaded method ensures the new password is compatible with the password policy, uses the current password to unlock the vault, and changes the password of the vault to a new password. If the current password is not valid an InvalidPassword exception is thrown. If the new password is not compatible with the password policy set in setPasswordPolicy then an IncompatiblePassword exception is thrown.

Syntax

public void ChangePassword(
	string sOldPassword,
	string sOldSalt,
	string sNewPassword,
	string sNewSalt
)

Parameters

Examples