Impersonate a Windows Account
For a list of all members of this type, see WindowsSecurityContext Members.
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This SecurityContext impersonates a Windows account.
How the impersonation is done depends on the value of Impersonate. This allows the context to either impersonate a set of user credentials specified using username, domain name and password or to revert to the process credentials.
Assembly: log4net (in log4net.dll)