Obtaining Information About Permissions
Users with the Administrator role can obtain information about
Permission
objects at different levels of detail.- For an array ofPermissionobjects, call theAuthorizationManager.RetrieveAllPermissionsmethod.
- For specific inventory objects, such as managed entities, folders, datacenters, or virtual services, call theAuthorizationManager.RetrieveEntityPermissionsmethod.
- For a role defined in the system, call theAuthorizationManager.RetrieveRolePermissionsmethod.
See the
vSphere API Reference
.