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.
"FetchUserPrivilegeOnEntitiesRequestType Object"
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
[
"UserPrivilegeResult Object"
]
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/AuthorizationManager/{moId}/FetchUserPrivilegeOnEntities