Share via


MonitoringTaskResult.RunningAs Property

Definition

Gets the user name of the user account that the task ran under.

public:
 property System::String ^ RunningAs { System::String ^ get(); };
public string RunningAs { get; }
member this.RunningAs : string
Public ReadOnly Property RunningAs As String

Property Value

A string that contains the user name of the user account that the task ran under.

Remarks

The returned string includes the user's domain and username.

Applies to