IgetInterchangeAccessSession()

Creates an access session to IBM WebSphere Business Integration Server Express and Express Plus for the access client.

Syntax

IInterchangeAccessSession IgetInterchangeAccessSession( 
     string userName, string password);

Parameters

userName
The name of the IBM WebSphere Business Integration Server Express and Express Plus user.

password
The IBM WebSphere Business Integration Server Express and Express Plus password for the user.

Return Values

An IInterchangeAccessSession object for the access session.

Exceptions

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

Notes

The IgetInterchangeAccessSession() method verifies that userName and password are valid for the IBM WebSphere Business Integration Server Express and Express Plus instance.

Important:
The user name for this method must be admin.

Example

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

Copyright IBM Corp. 2004