REST API - getUserPrivileges

The table summarizes the REST API - getUserPrivileges.

Request

Format
GET <baseurl>/security/privileges/<userguid>
Path parameters userguid: Can be obtained from lookupUser , findResources or listCandidateResources.

Response

JSON Returns a JSON representation of the content of the getUserPrivilegesResponse element.
XML Returns the content of the getUserPrivilegesResponse element (from the SecurityService schema).

Example

Request
GET <baseurl>/security/privileges/AF8224B6-FF4F-435D-8D58-DD81100766CD
Response
 {
       "xml-fragment":
       {
           "@user-guid": "AF8224B6-FF4F-435D-8D58-DD81100766CD"
       }
    }