# Fault - NoPermission(vim.fault.NoPermission)

Extended by
  AuthConnectionFailed, InvalidSession, NotAuthenticated
Extends
  SecurityError
See also
  NoPermissionEntityPrivileges
Since
  2.0

## Fault Description

Thrown when an operation is denied because of privileges not held on managed object(s).

Properties

Name | Type | Description
--- | --- | ---
missingPrivileges* | NoPermissionEntityPrivileges[] | List of entities and missing privileges for each entity Since 7.0.3.2
object* | ManagedObjectReference | Deprecated. As of vSphere 8.0, use the missingPrivileges field. The managed object on which a permission is required.
privilegeId* | xsd:string | Deprecated. As of vSphere 8.0, use the missingPrivileges field. The privilege identifier required
Properties inherited from SecurityError
None
Properties inherited from RuntimeFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="NoPermission"> <complexContent> <extension base="sms:SecurityError"> <sequence> <element name="object" type="sms:ManagedObjectReference" minOccurs="0"/> <element name="privilegeId" type="xsd:string" minOccurs="0"/> <element name="missingPrivileges" type="sms:NoPermissionEntityPrivileges" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>