MonitoringTaskResult.RunningAs 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 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.