Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggingEvent.Identity Property

Gets the identity of the current thread principal.

[Visual�Basic]
Public�ReadOnly�Property�Identity�As�String
[C#]
public�string�Identity�{get;}

Property Value

The string name of the identity of the current thread principal.

Remarks

Calls System.Threading.Thread.CurrentPrincipal.Identity.Name to get the name of the current thread principal.

See Also

LoggingEvent Class | log4net.Core Namespace