Click or drag to resize

ImpersonatingTargetWrapperUserName Property

Gets or sets username to change context to.

Namespace:  NLog.Targets.Wrappers
Assembly:  NLog.WindowsIdentity (in NLog.WindowsIdentity.dll) Version: 5.3.0+26b1fda2a4988e638aa77c5dd68f6ffd321a20c9
Syntax
public Layout UserName { get; set; }

Property Value

Type: Layout
Remarks
If you use the user principal name (UPN) format, User@DNSDomainName, the Domain must be NULL.
See Also