This section describes how to retrieve the user mapping (user name and password) associated with a system for the current user. The portal tries to connect to the back-end system using this user name and password when the current user requests an iView that connects with the system.
The example below uses mySystem, which is an ISystem object.
Get the ISystemUserMappingData object associated with the system for the current user.
Syntax
ISystemUserMappingData userMappingData = mySystem.getUserMappingData( request.getUser());
Get the user name or password from the ISystemUserMappingData object.
Syntax
userMappingData.getUser(); userMappingData.getPassword();