Identity Property

log4net SDK Reference |

# 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