Citrix ICA Vuser Functions (CTRX) > Alphabetical List of Functions > ctrx_connect_server

ctrx_connect_server

Example Connection Functions

Logs in to a Citrix server.

int ctrx_connect_server( char *server_name, char *user_name, char *password, char *domain, [CONTINUE_ON_ERROR,] CTRX_LAST );

server_name The name of the Citrix ICA server to which you are connecting.
user_name The name of the user used to login to server_name
password The password of the user used to login to server_name
domain The domain name of server_name to which you are performing a login.
CONTINUE_ON_ERROR A constant, entered as shown without quotes. Overrides the error behavior run-time setting for this step so that script behaves as though the run-time setting was Continue on error.
CTRX_LAST A marker that indicates the end of the argument list.

ctrx_connect_server connects a Citrix client to a Citrix server.

Return Values

Citrix ICA Return Values

Parameterization

Parameterization is available for all arguments of this function.

Example

ctrx_connect_server("ludens", "test", "test", "ludens" ,CTRX_LAST)

ctrx_wait_for_event("LOGON");