log4net SDK Reference |

# SecurityContext Class

A SecurityContext used by log4net when interacting with protected resources

For a list of all members of this type, see SecurityContext Members.

System.Object
log4net.Core.SecurityContext
log4net.Util.NullSecurityContext
log4net.Util.WindowsSecurityContext

[Visual Basic]
MustInherit Public Class SecurityContext
[C#]
public abstract class SecurityContext

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

A SecurityContext used by log4net when interacting with protected resources for example with operating system services. This can be used to impersonate a principal that has been granted privileges on the system resources.

#### Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

#### See Also

SecurityContext Members | log4net.Core Namespace