IDalConnectionExt.ChangeExpiredPassword

Syntax

ChangeExpiredPassword(NewPassword: String);

Parameters

NewPassword - new password.

Description

The ChangeExpiredPassword method changes the user password for specified one in the parameter.

Comments

The password repository policy (IMetabasePasswordPolicy) is not checked during this change, the prohibition to change a password by the user (IMetabaseUser.CannotChangePassword) is not checked either. If the password was changed successfully and connection to the repository was established, the appropriate record was made in the access protocol; if the password was not changed successfully, the appropriate exception with the details represented as DBMS error was generated. If the previous user password was encrypted, new password will be encrypted too after changing.

Example

The example of use is given in description of IDalConnectionExt.PasswordExpired.

See also:

IDalConnectionExt