See Also: ProfileModule Members
When the user profile is enabled, ASP.NET uses the System.Web.Profile.ProfileModule to create the user profile and store it in the System.Web.HttpContext.Profile property of the current System.Web.HttpContext.
The System.Web.Profile.ProfileModule exposes the following events you can handle to configure authentication in your application:
The ProfileModule.MigrateAnonymous event, to migrate profile settings from an anonymous profile to an authenticated profile when an anonymous user logs in.
The ProfileModule.Personalize event, to customize how the user profile is created.
The ProfileModule.ProfileAutoSaving event, to control how the user profile is saved when the ProfileManager.AutomaticSaveEnabled property is set to true.
For information about enabling the user profile, see <profile> Element for <system.web>.