In general, the first thing your program should do after calling EsbInit() is to prompt the user for a server name, user name, and password (or use predefined defaults), then attempt to log in to that server by calling EsbLogin(). Alternatively, use the encapsulated login function, EsbAutoLogin(). If this call is successful, then the returned context handle should be stored and used for all subsequent API calls.