login()

Logs in to an access session to InterChange Server for the access client.

Syntax

IInterchangeAccessSession login( 
     string userName, string password);

Parameters

userName
The name of the IBM WebSphere InterChange Server user.

password
The IBM WebSphere InterChange Server password for the user.

Exceptions

ICxAccessError
Thrown when an invalid user name or password is encountered.

Example

// Open the access session
String userName = "admin";
String password = "null";
IInterchangeAccessSession aSession = 
     serverAccessEngine.login(
     userName,
     password);

Copyright IBM Corp. 1997, 2004