POST Codesign/GetTrusteeRights
Returns all CodeSign Protect code signing rights for a user.
Requirements
- Permissions:
The caller must be a Code Signing Administrator or application administrator.
- Token scope: Codesign:Manage
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
|
Name |
Description |
|---|---|
|
Trustee |
The PrefixedUniversal identity. To get the value, call POST Identity/Browse. |
Returns
|
Name |
Description |
|---|---|
|
HTTP 200 |
For valid requests, this call returns a HTTP 200 message and the following data in the message body:
|
|
HTTP 400 |
For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:
|
Example: Show all user rights
Request
POST https://codesign.venafi.example//vedsdk/Codesign/GetTrusteeRights
Authorization:Bearer 4MyGeneratedBearerTknz==
{
"Trustee": "PrefixedUniversal:local:{3acf7adc-29ad-48ea-afce-c3dfa65f91d5}"
}
Response
HTTP/1.1 200 OK
{
"Result":1,
"RightsList":[
{
"key":"\\VED\\Code Signing\\Projects\\Sample",
"value":64
}
],
"Success":true
}