Define user maps

User maps define users that have different user names across multiple Data Sources. User maps allow you to map these two users together so that Micro Focus Connect knows they are the same user.

This topic is relevant if you are interested in synchronizing user fields with Micro Focus Connect.

About User Maps

Users can be represented in a product using different methods: email, name, full name.

If you use the same user representation in both products, you do not need to use User Maps.

When the user representation is not consistent, you need to define User Maps. User Maps describe how a user is identified in all your data sources.

You can define Users Maps in the UI or by importing an xml file.

Back to top

Define User Maps in the UI

Each User Map defines one user's identity across your different Data Sources.

To define a User Map:

  1. On the top banner, select the User Maps tab.
  2. Click Add User Map. A User Map entry is added to the grid. In this User Map, you will specify a single user's various identities across the different Data Sources.
  3. Double-click the User Map placeholder text, and rename the User Map.

    The User Map name is used internally only.

  4. Add rows to the User Map.
  5. On each row, select a Data Source, and enter the user's name as it's defined in the Data Source.
  6. Repeat the above steps to create Data Maps for all the users in your Data Sources.
  7. Click Save.

Back to top

Import User Maps

You can import User Maps via a structured xml file.

To create a template of the xml file, it is recommended to first define a User Map in the UI and export it.

To import User Maps:

  1. Create one or two User Maps in the UI. For details, see Define User Maps in the UI.
  2. Export the User Maps:

    1. In the top banner, click the gear button, and select Export.
    2. In the Export Connect Data dialog box, select the Users tab.
    3. Select the User Maps you want to export, and click Export.
  3. Open the exported file.

    A User Map record follows this form:

       <name>User Map2</name>
          <value>Jira DataSource</value>
          <name>Example Jira TeamDev</name>
          <value>Octane DataSource</value>
  4. Repeat the above structure in the xml file to define a User Map for each user.

    Element Comments
    The User Map name. An internal label identifying the user for whom you are creating the User Map. The name should be unique.

    The user's name as found in the Data Source <value>.

    You are allowed to specify multiple names for the same user within the same Data Source.

    Caution: Do not change any of the data outside of the <UserMaps> block. This information is necessary to allow Micro Focus Connect to re-import the file.

  5. After completing all the User Maps, save the file with an .xml extension.
  6. Import the xml file:

    1. In the top banner, click the gear button, and select Import.
    2. Select your modified xml file.
    3. If the xml file contains records that are already defined in the UI, select Overwrite existing elements.
    4. Click Import.

Back to top

Enable Users Maps

After you create User Maps, you need to associate it with user fields inside your Connections.

To enable User Maps:

  1. Select the Connections tab.
  2. Click the gear alongside a Connection and select Edit.
  3. In the Update Connection dialog box, click Next to navigate to the Types and Fields tab.
  4. Select a type and click (Edit).
  5. For each user field in the list, select the Enable User Map column.

Back to top

Next steps: