WindowsSecurityContext UserName Property Apache log4net™ SDK Documentation
Gets or sets the Windows username for this security context

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public string UserName { get; set; }

Property Value

Type: OnlineString
The Windows username for this security context
Remarks

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

See Also