# Credential element

Contains the details of a particular set of credentials.

## Usage

    <Credential
    	Type="xsd:string"
    	DefaultValue="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
--- | ---
CredentialBinding | Contains information necessary to prompt the user for credentials and resolve any associated CredentialValue elements in the ConnectionInfo section.

### Child Elements

None.

### 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.

## Definition

    <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>

©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