Create multiple MDM users in one request.

Create multiple MDM users in one request.

book

Article ID: KB0077899

calendar_today

Updated On:

Products Versions
TIBCO MDM -

Description

Sometimes there is need to create multiple MDM users for a particular enterprise. On the MDM UI, there is no option to create multiple users in one request. Using exported user XML file, multiple users can be created. 
 

Issue/Introduction

Create multiple MDM users in one request.

Environment

Product: TIBCO MDM Version: 9.x OS: All Supported Operating Systems

Resolution

Follow the below steps to create multiple users:

- We can add the multiple users using import metadata screen on MDM UI.

- For this, First, we need to export the users from the enterprise where we want to add the users.

Export Process
====
For exporting user, use the file  "MultipleUsersRequest.xml" from the location "MQ_HOME\schema\DataService\2.0\samples\metadataexchange\security".  
Before using it please add one user in MultipleUsersRequest.xml file.

Once we export the user, we will get the XML file, which has the user details like role, name, middle name, email and so on.. i.e the data present while adding the user from UI.

For reference, refer the attached exported user XML file.  i.e EXPORTED_USER_FILE.xml
====

- We can use the same XML file to import the users in the enterprise. 

- Before using it we need to make a few changes in it as below:
a. Change the Command type to Add i.e <ns:Command type="Add">.
b. Under users tag we will get user tag, using which we can add multiple users.
c. Remove DBID and ModMemberId from the XML for each user because once we import the UPDATED_USER_FILE.xml, by default MDM creates the DBID and ModMemberId for the current user.  
d. Change the ModDate to the user creation date.
f. Change the ModVersion to 1 because adding new user.

For above please refer attached updated XML file i.e UPDATED_USER_FILE.xml.
    
Now Import the modified XML file using import metadata option under system operation on MDM UI.
 

Attachments

Create multiple MDM users in one request. get_app
Create multiple MDM users in one request. get_app
Create multiple MDM users in one request. get_app