I opened up a case when I posted this question here in the communities and was able to get this from an EEM SME. I've confirmed this works so I would only need to read the xml output and parse out the data I'm looking for.
Hi Ryan,
One of our EEM Subject Matter Experts provided the
following information which may be a solution for your question:
Create a file named getUsers.xml
In this file put in the following:
<Safex>
<Attach label="Process Automation"/>
<Export appobjects="n"
policies="n" calendars="n" users="y"
usergroups="n" folders="n" globalsettings="n"
globalusers="n" globalusergroups="n"
globalfolders="n" file="getUsers_return.xml"/>
<Detach/> </Safex>
Change the 'Attach label=' label of 'Process Automation'
to whatever the registered application is.
Save the file under the Embedded Entitlements Manager/bin
folder Open a command window and navigate to this same folder Run the following
command
C:\Program
Files\CA\SC\EmbeddedEntitlementsManager\bin>safex -h localhost -u EiamAdmin
-p YourPassword -f getUsers.xml
Obviously change the password appropriately.
The last entries in the file (search for the first
occurrence of “User folder”) will be the users that are a member of this
registered application.
The EEM SME also cautions that you cannot copy/paste the
safex string from this email. It must be typed it out in the command window
completely, otherwise all you will get is an error message returned.