Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Windows-identity layout renderer

NLog documentation is a Wiki, which allows registered users to edit its content.
If you want to contribute, please create a user account and contact Jarek to get edit access.

Thread Windows identity information (username). 

Supported in

Configuration Syntax

${windows-identity:userName=Boolean:domain=Boolean}
Read more about using the Configuration File.

Parameters

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