| NAnt  Help  Type Reference  <credential> | v0.92-rc1 | 
[This is preliminary documentation and subject to change.]
Provides credentials for password-based authentication schemes.
| Attribute | Type | Description | Required | 
|---|---|---|---|
| domain | string | The domain or computer name that verifies the credentials. | False | 
| if | bool | 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. | False | 
| password | string | The password for the user name associated with the credentials. | False | 
| unless | bool | 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. | False | 
| username | string | The user name associated with the credentials. | False | 
| id | string | The ID used to be referenced later. | False | 
| refid | string | The ID to use as the reference. | False |