SAWSSDK::login
Description
Logs in a repository on the server.
Syntax
int login(
String strUserName,
String strPassword,
String strRepository,
String
strBlowfishKeyFileFullPath,
BasicDataObject bdobMustChangePassword,
BasicDataObject
bdoiHowManyDaysLaterWillPasswordExpire,
BasicDataObject bdobCanceled,
BasicDataObject bdostrError
);
Parameters
strUserName
[in] Specifies the login username.
strPassword
[in] Specifies the login password.
strRepository
[in] Specifies the name of the repository you want to log in.
strBlowfishKeyFileFullPath
[in] Specifies the full path of the Blowfish user keys to be imported, if the
client connects to the Blowfish secure port of the server.
bdobMustChangePassword
[out] Returns whether the password must be changed at each login.
bdoiHowManyDaysLaterWillPasswordExpire
[out] Returns the number of days left before the password expires.
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 0. If the method fails, returns other error codes.