Importing Users Roles and Permissions

You can import new or custom users, roles, and permissions as well as the existing users, roles, and permissions. To import existing users, roles, and permissions from one system to another, use the response JAR file generated from metadata export.

Procedure

  1. Import predefined Users, Roles, and Permissions:
    1. Export the existing users, roles, and permissions using out-of-the-box sample XML files.
    1. Download the response JAR file from the Event Log screen.
    2. Import the response JAR file using System Operations > Import Metadata option.
  2. For New or Custom Users, Roles, and Permissions:
    1. Go to $MQ_HOME\schema\DataService\2.0\samples\metadataexchange\security folder.
    2. Use any of the existing XML file as per your business requirements. For example, you want to import multiple users, roles, and permissions. You can modify the following predefined XML files:
    • For Users: MultipleUsersRequest.xml.
    • For Roles: MultipleRolesRequest.xml
    • For Permissions: SimplePermissionsForMultipleUsersRequest.xml
    • For Roles: SimplePermissionsForMultipleRolesRequest.xml
    1. Add a new username, role, or permission, if required.
    2. Save the modified XML file.
    3. Repackage the XML file in the JAR from which it was extracted.
    4. Import the JAR or ZIP file using System Operations > Import Metadata option.