ScheduledTaskTriggerEvent.UserName Property

Definition

Gets the name of the user identity triggering the task, if applicable, not including the domain name.

public Microsoft.Windows.EventTracing.ValueString UserName { get; }
member this.UserName : Microsoft.Windows.EventTracing.ValueString
Public ReadOnly Property UserName As ValueString

Property Value

Remarks

Only some types of triggers are user-specific and include a user name.

Applies to