WindowsAuthenticationEventArgs(WindowsIdentity, HttpContext) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.