 | ImpersonatingTargetWrapper.UserName 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
Syntaxpublic Layout UserName { get; set; }
Public Property UserName As Layout
Get
Set
Dim instance As ImpersonatingTargetWrapper
Dim value As Layout
value = instance.UserName
instance.UserName = value
member UserName : Layout with 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