# Authentication element

Does not apply to Excel data connections.

## Usage

    <Authentication
    	Resource="xsd:string"
    	Type="xsd:string"
    	Type="xsd:string"
    	CredentialValue="xsd:string"
    />

## Element Information

Element type | Anonymous
Namespace | http://schemas.microsoft.com/data/udc/soap
Schema name | Universal Data Connection SOAP

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
Windows | Does not apply to Excel data connections.
Basic | Does not apply to Excel data connections.
useExplicit | Does not apply to Excel data connections.
userId | Does not apply to Excel data connections.
password | Does not apply to Excel data connections.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Resource | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Type | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Type | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
CredentialValue | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.

## Definition

    <xsd:element name="Authentication" >
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Windows" minOccurs="0">
          </xsd:element>
          <xsd:element name="Basic" minOccurs="0">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="useExplicit" maxOccurs="1" minOccurs="1">
                  <xsd:complexType>
                    <xsd:sequence>
                      <xsd:element name="userId" maxOccurs="1" minOccurs="1">
                        <xsd:complexType>
                          <xsd:attribute name="Resource" type="xsd:string">
                          </xsd:attribute>
                          <xsd:attribute name="Type" type="xsd:string">
                          </xsd:attribute>
                        </xsd:complexType>
                      </xsd:element>
                      <xsd:element name="password" maxOccurs="1" minOccurs="1">
                        <xsd:complexType>
                          <xsd:attribute name="Type" type="xsd:string">
                          </xsd:attribute>
                          <xsd:attribute name="CredentialValue" type="xsd:string">
                          </xsd:attribute>
                        </xsd:complexType>
                      </xsd:element>
                    </xsd:sequence>
                  </xsd:complexType>
                </xsd:element>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp