Oracle Objects for OLE
Release 8.1.7

Part Number A85257-01

Library

Product

Contents

ChangePassword (OraServer) Method

See Also

Applies To

OraServer

Description

This method changes the password for a given user.

Arguments

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


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents