# 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:vim25="urn:vim25" name="EntityPrivilege"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="entity" type="vim25:ManagedObjectReference"/> <element name="privAvailability" type="vim25:PrivilegeAvailability" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>