WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Constructor

Definition

Initializes a newly created instance of the WindowsAuthenticationEventArgs class.

C#
public WindowsAuthenticationEventArgs(System.Security.Principal.WindowsIdentity identity, System.Web.HttpContext context);

Parameters

identity
WindowsIdentity

The Windows identity object.

context
HttpContext

The context for the event.

Remarks

The WindowsAuthenticationModule constructs a WindowsAuthenticationEventArgs object using the Windows identity supplied by IIS and the current HttpContext and passes it to the WindowsAuthentication_OnAuthenticate event.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also