0

How To: Get the universal name or Full name of an Identity User or Group by submitting Universal Identifier

You can get the universal name or full name (human understandable) of an Identity user or group by using the following call: 

How to fetch Identity User

POST https://tpporacle.psdev.local/vedsdk/Identity/Validate 

Header:

X-Venafi-Api-Key: f5fb2050-10ea-47ab-531e-b317f59ebb94

Content-Type: application/json

Data: 

{
"ID" : {
"Prefix": "AD+psdev.local",
"Universal": "c24eeddfc2b64c47bee8d9fc7ef9d1b9"
}
}

 

Response: 

{
"ID": {
"FullName": "CN=Administrator,CN=Users,DC=psdev,DC=local",
"IsContainer": false,
"IsGroup": false,
"Name": "Administrator",
"Prefix": "AD+psdev.local",
"Universal": "c24eeddfc2b64c47bee8d9fc7ef9d1b9"
}
}

How to fetch Identity Group

POST https://tpporacle.psdev.local/vedsdk/Identity/Validate 

Header:

X-Venafi-Api-Key: f5fb2050-10ea-47ab-531e-b317f59ebb94

Content-Type: application/json

Data: 

{
"ID" : {
"Prefix": "AD+psdev.local",
"Universal": "22c18c37625f0f40a087044b97c0158a"
}
}

 

Response: 

{
"ID": {
"FullName": "CN=ExampleSecuityGroup,CN=Users,DC=psdev,DC=local",
"IsContainer": false,
"IsGroup": true,
"Name": "ExampleSecuityGroup",
"Prefix": "AD+psdev.local",
"Universal": "22c18c37625f0f40a087044b97c0158a"
}
}

 

For more options, please refer to TPP Developer Guide. 

0 comments

Please sign in to leave a comment.