AccpacSession.RemoteConnect
Connects the session to a remote ACCPAC server using the supplied authentication credentials.
This method must be called before Init.
Sub RemoteConnect(
ServerName As String,
UserID As String,
Password As String,
Domain As String)
Parameters
ServerName
[in] the name of the ACCPAC server
UserID
[in] the username to use to log on to the server
If enhanced security is configured on the server, the ACCPAC remoting architecture uses NT authentication to verify access rights of the supplied user. The user must be a user recognized on the server. This parameter is ignored if enhanced security is not enabled on the server.
Password
[in] the user's password
If enhanced security is enabled on the server, the password is validated. Otherwise, the password is ignored.
Domain
[in] the Windows domain the supplied user name belongs to, or the server's machine name if the user is a local user on the server
This parameter is ignored if enhanced security is turned off on the server.