# Fault - NoPermission(vim.fault.NoPermission)

Thrown by
  AcquireGenericServiceTicket, AcquireLocalTicket, AddHost_Task, AddStandaloneHost_Task, ChangeLockdownMode, CloneVM_Task, CloneVM_Task, CreateVM_Task, Login, LoginBySSPI, LoginByToken, MergePermissions, MigrateVM_Task, MigrateVM_Task, ReconfigVM_Task, ReconfigVM_Task, ReconfigVM_Task, RemoveEntityPermission, ResetEntityPermissions, SetEntityPermissions, UnassignUserFromGroup, UpdateAuthorizationRole
Extended by
  NotAuthenticated
Extends
  SecurityError

## Fault Description

Thrown when an operation is denied because of a privilege not held on a managed object.

Properties

Name | Type | Description
--- | --- | ---
object | ManagedObjectReference | The managed object on which permission is required
privilegeId | xsd:string | The privilege identifier required
Properties inherited from SecurityError
None
Properties inherited from RuntimeFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="NoPermission"> <complexContent> <extension base="vim25:SecurityError"> <sequence> <element name="object" type="vim25:ManagedObjectReference"/> <element name="privilegeId" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>