Share via


UserIdentity.UserName Property

Definition

Gets or sets the name of the user identity under which the Task is run.

[Newtonsoft.Json.JsonProperty(PropertyName="username")]
public string UserName { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="username")>]
member this.UserName : string with get, set
Public Property UserName As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The userName and autoUser properties are mutually exclusive; you must specify one but not both.

Applies to