Coppermill Coppermill - 10 months ago 70
C# Question

Can NLog store the current Thread user

I am using NLog to provide all my logging, do you know if it is possible to store the current Thread user details, by changing the NLog.Config file?

Jim Jim
Answer Source

Here you go: ${windows-identity}