Authorization Manager Has User Privilege On Entities
Checks if a user holds a certain set of privileges on a number of managed entities.
Privileges may be granted to users through their respective group membership. If a privilege is granted to a group it is implicitly granted to its members.
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.3.0 APIs.
Show optional properties
{
"entities": [
{
"type": "string",
"value": "string"
}
],
"userName": "string"
}
{
"entities": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"userName": "string",
"privId": [
"string"
]
}
are the managed objects to check privileges on. If they refer to managed objects that are not managed entities the privilege check will be done on the root folder.
Required privileges: System.View
is the name of the user to check privileges for. Both UPN and PreWindows2000LogonName user name formats are supported.
is the set of privileges to check for
the privilege check result
[
{
"_typeName": "string",
"entity": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"privAvailability": [
{
"_typeName": "string",
"privId": "string",
"isGranted": false
}
]
}
]