Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E12245-01 |
|
|
View PDF |
Applies To
Description
Changes the password for a given user.
Usage
OraServer.ChangePassword user_name, current_password, new_password
Arguments
The arguments for the method are:
Arguments | Description |
---|---|
[in ] user_name |
A String representing the user for whom the password is changed. |
[in ] current_password |
A String representing the current password for the user. |
[in ] new_password |
A String representing the new password for whom the user account is set. |
Remarks
The OraServer
object should be attached to an Oracle database using the Open
method before to using this method.
This method is useful when a password has expired. In that case, the OpenDatabase
method could return the following error:
ORA-28001 "the password has expired".
See Also: