It is recommended using a Rest Client like Postman for these operations.

Exporting Users

User's details from the source Platform Server can be exported using the following REST URL request:

http://<servername>:61400/rest/service/admin/users?loginname=<loginname>&loginpassword=<password>


Ref. figure


The xml output will list all users as shown above. This user info list will be used during the user import operation.



Importing Users

1. Now, before importing users in the target Platform Server, first requirement is to have the all Roles created in the target Platform Server. Roles in the target server should be same as the roles in the source server. In case, a role exists in the source server but not in the target server, users associated with that specific role won't get imported.

2. To import the user, use the following REST URL request. Here, we need to input list of all users (userinfolist), we want to import in the target server.

http://<servername>:61400/rest/service/admin/users?loginname=<loginname>&&loginpassword=<password>&op=create&userinfolist=<userInfoList><userInfo id="20"><name>mspencer</name><firstName>Mitch</firstName><lastName>Spencer</lastName><emailAddress>mspencer@some.com</emailAddress><nativeTrustee>true</nativeTrustee><enabled>true</enabled><defaultUserClassId>1</defaultUserClassId><defaultUserClass>Administrator</defaultUserClass><deleted>false</deleted></userInfo><userInfo id="21"><name>rwaddell</name><firstName>Ryan</firstName><lastName>Waddell</lastName><emailAddress>rwaddell@some.com</emailAddress><nativeTrustee>true</nativeTrustee><enabled>true</enabled><defaultUserClassId>1</defaultUserClassId><defaultUserClass>Administrator</defaultUserClass><deleted>false</deleted></userInfo></userInfoList>


Ref. figure



Additional Information:

Sometimes, due to huge userinfolist, it doesn't fit inside the value field; in that case, we can put the userinfolist in the body section of REST Client. Please refer below screenshot: