NAnt SDK Documentation - v0.92

Credential.UserName Property

The user name associated with the credentials.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="username", ExpandProperties:=True, ProcessXml:=True)>
Public Property UserName As String
[C#]
[TaskAttribute(Required=False, Name="username", ExpandProperties=True, ProcessXml=True)]
public string UserName {get; set;}

See Also

Credential Class | NAnt.Core.Types Namespace