# Fault - InvalidPrivilege(vim.fault.InvalidPrivilege)

Thrown by
  AddCustomFieldDef
Extends
  VimFault
Since
  2.0

## Fault Description

A InvalidPrivilege fault is thrown when the privilege does not exist.

Properties

Name | Type | Description
--- | --- | ---
privilege | xsd:string | The invalid privilege.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="InvalidPrivilege"> <complexContent> <extension base="vim25:VimFault"> <sequence> <element name="privilege" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>