How to EEM Bulk managing users(add/remove/modify)
search cancel

How to EEM Bulk managing users(add/remove/modify)

book

Article ID: 15188

calendar_today

Updated On:

Products

CA Service Catalog CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

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.

 

Environment

Windows running EEM 12.5x for e.g. CA Service Catalog, CA ServiceDesk Manager and other CA related products.

Resolution

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

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

 

Attachments

1558534601307TEC1957817.zip get_app