How to 'bulk-add' users into EEM, through the safex.exe program.
To avoid using the (SC,SDM,EEM)-UI for each individual (new) user.
How to 'bulk-add' users into EEM, through the safex.exe program.
The following information and possible procedure can be used as such.
1. cd C:\Program Files\CA\SC\EmbeddedEntitlementsManager\bin
2a. Create the file named "add_gusers.xml"( (notepad add_gusers.xml)
2b. With the following content:
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<Safex>
<Attach label="Service Catalog"/>
<Add>
<GlobalUser folder="/" name="SafexUser1">
<GroupMembership>SafexGroup1</GroupMembership>
</GlobalUser>
<GlobalUser folder="/" name="SafexUser2">
<GroupMembership>SafexGroup2</GroupMembership>
<GroupMembership>OpenSpaceAdminGroup</GroupMembership>
</GlobalUser>
</Add>
</Safex>
3a. In the EEM-UI, create groups SafexGroup1 and SafexGroup2
3b. Next, execute the following command:
safex.exe -h <hostname> -u EiamAdmin -p <password> -f add_gusers.xml
Additional Information:
Also see the .txt files as attached:
EEM_Safex_Add_User_GroupMember.txt
EEM_Safex_Remove_Add_GroupMember.txt
EEM_Safex_Retrieve_contacts_from_eem.txt