Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

WindowsSecurityContext.UserName Property

Gets or sets the Windows username for this security context

[Visual�Basic]
Public�Property�UserName�As�String
[C#]
public�string�UserName�{get;�set;}

Property Value

The Windows username for this security context

Remarks

This property must be set if Credentials is set to User (the default setting).

See Also

WindowsSecurityContext Class | log4net.Util Namespace