Show TOC

Procedure documentationGetting User Mapping Locate this document in the navigation structure

 

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.

Procedure

  1. Get the ISystemUserMappingData object associated with the system for the current user.

    Syntax Syntax

    1. ISystemUserMappingData userMappingData = mySystem.getUserMappingData(
          request.getUser());
    End of the code.
  2. Get the user name or password from the ISystemUserMappingData object.

    Syntax Syntax

    1. userMappingData.getUser();
      userMappingData.getPassword();
      
    End of the code.