Bewerken

Delen via


WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Constructor

Definition

Initializes a newly created instance of the WindowsAuthenticationEventArgs class.

public:
 WindowsAuthenticationEventArgs(System::Security::Principal::WindowsIdentity ^ identity, System::Web::HttpContext ^ context);
public WindowsAuthenticationEventArgs (System.Security.Principal.WindowsIdentity identity, System.Web.HttpContext context);
new System.Web.Security.WindowsAuthenticationEventArgs : System.Security.Principal.WindowsIdentity * System.Web.HttpContext -> System.Web.Security.WindowsAuthenticationEventArgs
Public Sub New (identity As WindowsIdentity, context As HttpContext)

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

See also