Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

WindowsSecurityContext Class

Impersonate a Windows Account

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

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

[Visual�Basic]
Public�Class�WindowsSecurityContext
����Inherits�SecurityContext
����Implements�IOptionHandler
[C#]
public�class�WindowsSecurityContext : SecurityContext, IOptionHandler

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

WindowsSecurityContext Members | log4net.Util Namespace