# Data Object - EntityPrivilege(vim.AuthorizationManager.EntityPrivilege)

Returned by
  HasPrivilegeOnEntities, HasUserPrivilegeOnEntities
Extends
  DynamicData
See also
  ManagedEntity, PrivilegeAvailability
Since
  vSphere API 5.5

## Data Object Description

This class defines whether a set of privileges are granted for a managed entity.

Properties

Name | Type | Description
--- | --- | ---
entity | ManagedObjectReference to a ManagedEntity | The entity on which the privileges are checked.
privAvailability | PrivilegeAvailability[] | whether a set of privileges are granted for the managed entity.
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="EntityPrivilege"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="entity" type="vsan:ManagedObjectReference"/> <element name="privAvailability" type="vsan:PrivilegeAvailability" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>