Authorization Manager Has Privilege On Entities
Check whether a session holds a set of privileges on a set of managed entities.
If the session does not exist, false is returned for all privileges of all the entities.
This API is implemented only by vCenter Server.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case AuthorizationManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"entity": [
{}
],
"sessionId": "string"
}
{
"entity": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"sessionId": "string",
"privId": [
"string"
]
}
The set of entities on which the privileges are checked.
Required privileges: System.Read
The session ID to check privileges for. A sesssion ID can be obtained from UserSession.key.
The array of privilege IDs to check.
The privilege check result.
[
{
"_typeName": "string",
"entity": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"privAvailability": [
{
"_typeName": "string",
"privId": "string",
"isGranted": false
}
]
}
]