2.2.4.3 AccessDeniedExceptionState

Namespace: http://schemas.datacontract.org/2004/07/Microsoft.BusinessData.Infrastructure

The AccessDeniedExceptionState complex type is an error complex type that contains information about a protocol-server-side error because of a violation of access control on the metadata store. The complex type MUST only be included as part of a SOAP fault as specified in Complex Types (section 2.2.4).

 <xs:complexType name="AccessDeniedExceptionState" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:complexContent mixed="false">
     <xs:extension base="q1:BdcExceptionState">
       <xs:sequence>
         <xs:element minOccurs="0" name="CurrentIdentity" nillable="true" type="xs:string"/>
         <xs:element minOccurs="0" name="SecurableObjectName" nillable="true" type="xs:string"/>
         <xs:element minOccurs="0" name="SecurableObjectTypeName" nillable="true" type="xs:string"/>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

CurrentIdentity: The security principal (2) in whose context the protocol client is operating when the violation of access control occurs. This element MUST be present.

SecurableObjectName: The name of the MetadataObject on which the access control violation occurs. This element MUST be present.

SecurableObjectTypeName: The type of MetadataObject on which the access control violation occurs. This element MUST be present.