WindowsSecurityContext ClassApache log4net™ SDK Documentation
Impersonate a Windows Account
Inheritance Hierarchy

OnlineSystem Object
  log4net.Core SecurityContext
    log4net.Util WindowsSecurityContext

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

public class WindowsSecurityContext : SecurityContext, 
	IOptionHandler
Remarks

This SecurityContext impersonates a Windows account.

How the impersonation is done depends on the value of Impersonate(Object). 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.

See Also