Skip to content

Windows Identity Layout Renderer

Rolf Kristensen edited this page Oct 15, 2023 · 18 revisions

Render Windows identity information (username) from the current thread-context.

Platforms Supported: Limited - Windows only and requires nuget-package NLog.WindowsIdentity with NLog 5.0

Configuration Syntax

${windows-identity:userName=Boolean:domain=Boolean}

Parameters

Rendering Options

  • userName - Indicates whether username should be included. Boolean Default: True
  • domain - Indicates whether domain name should be included. Boolean Default: True

Notes

Clone this wiki locally