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