Share via


UserIdentity.UserName Property

Definition

Gets the name of the user identity under which the task is run.

public string UserName { get; }
member this.UserName : string
Public ReadOnly Property UserName As String

Property Value

Remarks

The UserName and AutoUser properties are mutually exclusive; you must specify one but not both.

Applies to