SAWVSDK::login
Description
Logs in the VSS database.
Syntax
int login(
String strUserName,
String strPassword,
String strDatabaseName,
byte byaryUserKey[],
BasicDataObject bdobMustChangePassword,
BasicDataObject
bdoiHowManyDatesLaterWillPasswordExpired,
BasicDataObject bdobCanceled,
BasicDataObject bdostrError
);
Parameters
strUserName
[in] Specifies the login username.
strPassword
[in] Specifies the login password.
strDatabaseName
[in] Specifies the alias of the VSS database you want to log in.
byaryUserKey[]
[in] Specifies the name information set of user keys to be imported, if you
access to the Blowfish secure port of the server.
bdobMustChangePassword
[out] Returns whether the password must be changed at each login.
bdoiHowManyDatesLaterWillPasswordExpired
[out] Returns the number of days before the password expiration date.
bdobCanceled
[out] If the method fails, returns whether the operation is canceled.
bdostrError
[out] Returns the description of the result. If the operation succeeds, returns
'Completed'. If the operation fails, returns the error information.
Return Value
If the method succeeds, returns the value of ESAWV_SUCCESS. If the method fails, returns other error codes.