NAnt SDK Documentation - v0.92 |

# Credential Properties

The properties of the Credential class are listed below. For a complete list of Credential class members, see the Credential Members topic.

#### Public Instance Properties

CanBeReferenced (inherited from DataTypeBase) | Gets a value indicating whether a reference to the type can be defined.
Domain | The domain or computer name that verifies the credentials.
ID (inherited from DataTypeBase) | The ID used to be referenced later.
IfDefined | Indicates if the credentials should be used to provide authentication information to the external resource. If true then the credentials will be passed; otherwise, not. The default is true.
Name (inherited from DataTypeBase) | Gets the name of the datatype.
NamespaceManager (inherited from Element) | Gets or sets the XmlNamespaceManager.
Parent (inherited from Element) | Gets or sets the parent of the element.
Password | The password for the user name associated with the credentials.
Project (inherited from Element) | Gets or sets the Project to which this element belongs.
Properties (inherited from Element) | Gets the properties local to this Element and the Project.
RefID (inherited from DataTypeBase) | The ID to use as the reference.
UnlessDefined | Indicates if the credentials should not be used to provide authentication information to the external resource. If false then the credentials will be passed; otherwise, not. The default is false.
UserName | The user name associated with the credentials.

#### Protected Instance Properties

CustomXmlProcessing (inherited from Element) | Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element.
Location (inherited from Element) | Gets or sets the location in the build file where the element is defined.
XmlNode (inherited from Element) | Gets or sets the XML node of the element.

#### See Also

Credential Class | NAnt.Core.Types Namespace