Authorization Manager Fetch User Privilege On Entities
Get the list of effective privileges for a user, either granted explicitly, or through group membership.
This API is implemented only by vCenter Server.
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.2.0 APIs.
{
"entities": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"userName": "string"
}
are the entities to retrieve privileges on
Required privileges: System.View
is the user to retrieve privileges for
the privilege check result for each entity
[
{
"_typeName": "string",
"entity": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"privileges": [
"string"
]
}
]