Define Db2 LUW User Mappings

You use the Db2 for LUW User Mapping Editor to define a mapping between a user ID and a specific federated server. If you are using the same user ID and password to connect to the federated database and to access the remote data source, you need not create a user mapping.

To define Db2 user mappings

  1. Right-click a User Mapping in the Model Explorer and select Properties.

    The Db2 for LUW User Mapping Editor opens.

  2. Select a user mapping name and work with the following options:

    Note: Click New New icon in property editors to create a new object on the toolbar to create a user mapping name. Use the Enter filter text text box to filter a large list of names to locate the one you want to work with.

    Name

    Specifies the name of the user mapping.

    Use User Register

    Specifies to use the USER special register instead of the User Id selection.

    User Id

    Specifies the User ID you want to associate with the user mapping. Select a User Id from the drop-down list.

    Server

    Specifies the server name you want to associate with the user mapping. Select a server from the drop-down list.

    Generate

    Specifies whether or not to generate DDL for this object during Forward Engineering.

  3. Click the User Mapping Options tab to indicate the options that are enabled when the user mapping is created.
  4. (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
  5. (Optional) Click the UDP tab to work with user-defined properties for the object.
  6. (Optional) Click the Notes tab to view and edit user notes.
  7. Click Close.

    The Db2 for LUW User Mapping Editor closes.

More information:

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor