Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
Description
This method changes the password for a given user.
Arguments |
Description |
---|---|
[in] user_name |
A string representing the user for whom the password will be changed. |
[in] current_password |
A string representing the current password for the user. |
[in] new_password |
A string representing the new password the user account will be set to. |
OraServer.ChangePassword user_name, current_password, new_password
Remarks
OraServer should be attached to an Oracle server using Open method prior to using this method.
This method is especially useful when a password has expired. In that case, OpenDatabase could return the error:
ORA-28001 "the password has expired".