log4net SDK Reference

FileAppender.SecurityContext Property

Gets or sets the SecurityContext used to write to the file.

[Visual Basic]
Public Property SecurityContext As SecurityContext
[C#]
public log4net.Core.SecurityContext SecurityContext {get; set;}

Property Value

The SecurityContext used to write to the file.

Remarks

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

FileAppender Class | log4net.Appender Namespace