Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

ChangePassword (OraServer) Method

See Also

Applies To

OraServer

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.
Usage

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".