login()

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

Syntax

IInterchangeAccessSession login( 
     string userName, string password);

Parameters

userName
The name of the IBM WebSphere Business Integration Server Express user.
password
The IBM WebSphere Business Integration Server Express 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. 2004, 2005