UserIdentity.UserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- System.String
Remarks
The UserName and AutoUser properties are mutually exclusive; you must specify one but not both.