Represents the method that handles the FormsAuthentication_OnAuthenticate event of a FormsAuthenticationModule.
Assembly: System.Web (in System.Web.dll)
public delegate void FormsAuthenticationEventHandler( Object^ sender, FormsAuthenticationEventArgs^ e )
The Authenticate event of the FormsAuthenticationModule class. You can access the Authenticate event of the FormsAuthenticationModule class by specifying a subroutine named FormsAuthentication_OnAuthenticate in the Global.asax file for your ASP.NET application. The Authenticate event is raised during the AuthenticateRequest event.delegate is defined for the
You can use the User property of the FormsAuthenticationEventArgs object supplied to the FormsAuthentication_OnAuthenticate event to set the User property of the current HttpContext to a custom IPrincipal object. If you do not specify a value for the User property during the FormsAuthentication_OnAuthenticate event, the identity supplied by the forms authentication ticket in the cookie or URL is used.
Available since 1.1