Previous Topic: void SetAgentPortNumber(LPCTSTR szPortNumber)

Next Topic: void SetRemotePassword(LPCTSTR szRemotePassword)


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)