Previous Topic: LPCTSTR GetLastMessage( )

Next Topic: void Logout(void)


HINT32 ChangePassword(LPCTSTR szPassword)

Changes the CA Harvest SCM password of the currently logged in user.

Notes:

Owning Class

CaHarvest

Arguments

LPCTSTR szPassword-the Password

Return Value

Returns zero if success, nonzero if failure.

Exceptions

Throws CaException on error.

Example

CaHarvest Harvest;
if( Harvest.ChangePassword( szNewPassword ) ) cout << Harvest.GetLastMessage() << endl;

More information: