BuildMachineCredentials.AccountName Property
Gets the name of the account that was used to authenticate.
Namespace: Microsoft.TeamFoundation.Build.Hosting
Assembly: Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)
Syntax
'Declaration
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property AccountName As String
[DataMemberAttribute(EmitDefaultValue = false)]
public string AccountName { get; set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property String^ AccountName {
String^ get ();
void set (String^ value);
}
[<DataMemberAttribute(EmitDefaultValue = false)>]
member AccountName : string with get, set
function get AccountName () : String
function set AccountName (value : String)
Property Value
Type: System.String
Returns String.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.