Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

ChangePassword (OServer) Method

Applies To

OServer

Description

This method changes the password for a given user.

Usage

void ChangePassword(const char *username, const char *current_pass, const char *new_pass) const throw(OException)

Arguments
Description
username
A string representing the user for whom the password will be changed.
current_pass
A string representing the current password for the user.
new_pass
A string representing the new password that the user account will be set to.
Remarks

OServer should be attached to an Oracle server using the 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 © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback