WindowsSecurityContext ImpersonationMode Enumeration | Apache log4net™ SDK Documentation

The impersonation modes for the WindowsSecurityContext

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public enum ImpersonationMode

    Public Enumeration ImpersonationMode

    public enum class ImpersonationMode

    type ImpersonationMode

Members

| Member name | Value | Description
--- | --- | --- | ---
| User | 0 | Impersonate a user using the credentials supplied
| Process | 1 | Revert this the thread to the credentials of the process

Remarks

See the Credentials property for details.

See Also

#### Reference

log4net.Util Namespace