Render Windows identity information (username) from the current thread-context.
Platforms Supported: Limited - Windows only and requires nuget-package NLog.WindowsIdentity since NLog 5.0
${windows-identity:userName=Boolean:domain=Boolean}
${environment-user} is an alternative that depends on Environment.UserName, which is compatible with both Windows/Linux (and less overhead).
${identity} is an alternative that depends on Thread.CurrentPrincipal.
${aspnet-user-identity} is an alternative that only works on ASP.NET Applications with identity enabled.
There was an error while loading. Please reload this page.