Get Entitlement Service - Outputs

The response message provides information about all roles assigned, all accessible functions, and access permissions for all resources.

  • All roles assigned — For example, the following information is returned for each role.
    <ns:Roles>
       <ns:Role id="34018">
         <ns:Name>Admin</ns:Name>
         <ns:Description lang="en">Default Admin Role</ns:Description>
         </ns:Role>
    </ns:Roles>
  • All accessible functions — For example, the following information is returned for each function.
    <ns:Functions>
          <ns:Function id="61">
              <ns:Name>adminmenu_roles</ns:Name>
              <ns:Description lang="en">Roles menu</ns:Description>
          </ns:Function>
    </ns:Functions>
  • Access permissions for all resources — For example, the following information is returned for permissions. Note that the service calculates cumulative user permission for a resource. For example, user "A" is assigned user level permission to allow browse for resource repository "MC1". User "A" is also assigned two roles, "Catalog Manager" and "Catalog Edition" and both roles are denied permission for resource "MC1". Only the permissions at the user level are populated in the response file. Also, note that, if "Full control" permission is assigned to a given resource, the rest of the permissions are not populated in the response.
    <ns:Resource id="34190" resourceType="Repository">
      <ns:Name>MC1</ns:Name>
         <ns:Accesses>
             <ns:Access id="A">
               <ns:Description lang="en">Full Control</ns:Description>
               <ns:Allowed>Y</ns:Allowed>
             </ns:Access>
         </ns:Accesses>
    </ns:Resource>