System.Diagnostics.EventLogEntry.UserName Property

Gets the name of the user who is responsible for this event.

Syntax

[System.Diagnostics.MonitoringDescription("The name of a user associated with this event entry.")]
public string UserName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is often blank for events in logs other than the Security log.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0