Copy link to clipboard
Copied
I need to identify if a specific user is a member of the built-in group Administrators. I expend quite some time on the documentation List of all WebServices APIs for Adobe Connect but couldn't find any service that would return this information.
Does anybody have some light to share?
Finally, I managed to do what I needed.
The request https://server.com/api/xml?action=principal-list&session=breezz&filter-type=admins will return the admin group.
Then you need to use the principal-id of the previous result in the group-id parameter like this:
https://server.com/api/xml?action=principal-list&session=breezz&group-id=11007&filter-is-member=true
Best regards,
Ronaldo
Copy link to clipboard
Copied
Did you log in as an admin and look in the Users and Groups section under Administration tab to see if he is listed as a member of that group?
Copy link to clipboard
Copied
The user is in the group Administrator, I can see it there. The problem is that I need to verify that using the XML API, because I am working on a schedule integration. I need something like this
http://server_name/api/xml
?action=permissions-info
&acl-id=integer
&principal-id=integer
&filter-definition=value
&sort-definition=value
Please check this link to get a clear picture of what I am trying to accomplish: permissions‑info
Copy link to clipboard
Copied
Pretty sure that if you call the principal-info call, you will get a descriptor of type=xxxx. This will specify what, if any, system groups the user is in.
Adobe Connect Help | principal-info
The list of user types can be found here, scroll down to principal types:
Copy link to clipboard
Copied
My initial thought on principal-info was that it would give me what I need. Unfortunately, it does not. This is the response I got from principal-info:
<resultroot>
<contact>
<email r**************@email.com</email>
<first-name>Ronaldo</first-name>
<last-name>Canesqui</last-name>
</contact>
<preferences acl-id="13772323" lang="en" time-zone-id="35" />
<principal account-id="7" disabled="" has-children="false" is-ecommerce="false" is-hidden="false" is-primary="false" principal-id="13772323" tos-status="" type="user">
<ext-login>r*********@email.com</ext-login>
<login>r************@email.com</login>
<name>Ronaldo Canesqui</name>
<email>r************@email.com</email>
<first-name>Ronaldo</first-name>
<last-name>Canesqui</last-name>
<user-suspended>false</user-suspended>
</principal>
</resultroot>
The type is "user", no matter if the user is a member of the Administrator group or not. Maybe I am missing something in the group settings.
Thank you for your help anyway.
Best regards,
Ronaldo
Copy link to clipboard
Copied
Finally, I managed to do what I needed.
The request https://server.com/api/xml?action=principal-list&session=breezz&filter-type=admins will return the admin group.
Then you need to use the principal-id of the previous result in the group-id parameter like this:
https://server.com/api/xml?action=principal-list&session=breezz&group-id=11007&filter-is-member=true
Best regards,
Ronaldo
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more