HSDK Class Descriptions › CaCheckin › void SetRemoteUserName(LPCTSTR szRemoteUserName)
void SetRemoteUserName(LPCTSTR szRemoteUserName)
Sets the user name for the login to the remote machine where the files are located.
Note: If a remote machine is set, then an agent port number, and a remote username and password must also be supplied. The Client Directory must exist on the remote machine.
- Owning Class
-
CaCheckin
- Arguments
-
LPCTSTR szRemoteUserName
- Return Value
-
None
Example
CaCheckin& rCheckin = rContext.GetCheckin();rCheckin.SetRemoteUserName(“George”);
More information:
HSDK Programming Fundamentals
CaContext
bool SetClientDir(LPCTSTR szCDir)
void SetRemoteMachineName(LPCTSTR szRemoteMachineName)
bool SetViewPath(LPCTSTR szVPath)
bool SetPathOption(HINT32 iOption)
LPCTSTR GetRemoteUserName(void)
void SetRemotePassword(LPCTSTR szRemotePassword)
void SetAgentPortNumber(LPCTSTR szPortNumber)
|
Copyright © 2013 CA.
All rights reserved.
|
|