Skip to main content
February 19, 2019
Answered

Identify user role (administrator) using XML API

  • February 19, 2019
  • 2 replies
  • 1085 views

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?

    This topic has been closed for replies.
    Correct answer

    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

    2 replies

    Correct answer
    February 21, 2019

    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

    Thomas Gunter-Kremers
    Participating Frequently
    February 19, 2019

    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?

    February 19, 2019

    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

    Jorma_at_Knox
    Legend
    February 20, 2019

    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:

    Common XML elements and attributes for Web Services