# CredentialBinding element

Contains information necessary to prompt the user for credentials and resolve any associated CredentialValue elements in the ConnectionInfo section.

## Usage

    <CredentialBinding
    	Type="xsd:string"
    	DefaultValue="xsd:string"
    	Resource="xsd:string"
    />

## Element Information

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

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
ClientParameterBindings | Contains parameters that provide a way for the client processing the UDC to perform text replacement anywhere within the ConnectionInfo section.

### Child Elements

Element | Description
--- | ---
Credential | Contains the details of a particular set of credentials.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Type | xsd:string | optional | Specifies the type for a particular set of credentials. This attribute and the Resource attribute are used to match a CredentialBinding element with a CredentialValue element. | See external namespace.
DefaultValue | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Resource | xsd:string | required | Specifies a string that represents the resource to be used with a particular set of credentials. This attribute and the Type attribute are used to match a CredentialBinding element with a CredentialValue element. | See external namespace.

## Definition

    <xsd:element name="CredentialBinding" minOccurs="0" >
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Credential" minOccurs="0" maxOccurs="unbounded">
            <xsd:complexType>
              <xsd:attribute name="Type" type="xsd:string" use="optional">
              </xsd:attribute>
              <xsd:attribute name="DefaultValue" type="xsd:string" use="optional">
              </xsd:attribute>
            </xsd:complexType>
          </xsd:element>
        </xsd:sequence>
        <xsd:attribute name="Resource" type="xsd:string" use="required">
        </xsd:attribute>
      </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