ODAC

TOraSession.ChangePassword Method

Changes the password of an account to the new password.

Class

TOraSession

Syntax

procedure ChangePassword(NewPassword: string);

Parameters
NewPassword
Takes the new password.

Remarks

Call the ChangePassword method to replace the current password of an account with the new password.

The previous values must be provided for the Password and UserName properties before calling ChangePassword.

The ChangePassword method is used mainly when logging in to the user account fails due to an expired password or any other reason accompanied by an exception with ORA-2800 Oracle error code family (see Oracle Error Messages).

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback