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: 6.1.4+7dee3b7e87f2f8ba886f04fc5fc54802fc213437
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