- URL:
 - https://<root>/security/roles/getPrivilege
 - Methods:
 POST- Required Capability:
 - Access allowed with any authorized privilege
 - Version Introduced:
 - 10.0
 
Description
The get operation returns the privilege associated with a specific role.
Request parameters
| Parameter | Details | 
|---|---|
  | The name of the role. Example  | 
  | The response format. The default response format is  Values:   | 
Example usage
The following is a sample POST request for the get operation:
POST /webadaptor/admin/security/roles/getPrivilege HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
rolename=publishers&f=pjsonJSON Response syntax
{
  "privilege": "<ADMINISTER | PUBLISH | ACCESS>"
}JSON Response example
{
  "privilege": "PUBLISH"
}