Login::OnLoggedIn Method (EventArgs^)
.NET Framework (current version)
Raises the LoggedIn event after the user logs in to the Web site and has been authenticated.
Assembly: System.Web (in System.Web.dll)
The OnLoggedIn method raises the LoggedIn event. Use the LoggedIn event to provide additional processing, such as accessing per-user data, after the user is authenticated.
Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.
The OnLoggedIn method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Notes to Inheritors:
When overriding OnLoggedIn in a derived class, be sure to call the base class's OnLoggedIn method so that registered delegates receive the event.
.NET Framework
Available since 2.0
Available since 2.0
Show: