Trading Networks 10.15 | Building Services with Trading Networks | Profile Folder | Summary of Elements in this Folder | wm.tn.profile:addUsers
 
wm.tn.profile:addUsers
Adds the specified user mappings to a Trading Networks profile. When the service is executed through a client, the service creates the Integration Server user account if it does not already exist and associates the user account with the profile.
Input Parameters
partnerId
String The internal identifier for the trading partner profile.
users
String List The users to add to the profile. Specify each user to associate with the profile as a separate String in the String List. The user name can be up to 128 characters and cannot contain spaces.
Output Parameters
accounts
Document List The user accounts that were added to the profile. Each document contains the following keys:
*user The user name for the user account.
*password The password that corresponds to the user account.