FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Windows Identity Layout Renderer · NLog/NLog Wiki · GitHub

/ NLog Public

Windows Identity Layout Renderer

Rolf Kristensen edited this page Jul 2, 2025 · 19 revisions

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

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

Wiki pages Pages 295

Clone this wiki locally


Back | FazBrowse Home | New Git URL