System.Security.Principal.WindowsImpersonationContext Class

Represents the Windows user prior to an impersonation operation.

See Also: WindowsImpersonationContext Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class WindowsImpersonationContext : IDisposable

Remarks

This class reverts a user's identity after the user impersonates another user.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0