System.Web 2.0.0.0 System.EventArgs

The object provides event information to the event of the class. The object provides access to the of the current request and the anonymous user identifier for the anonymous profile in the property.

You can use the event to copy profile property values from an anonymous profile to an authenticated profile when a user who has been anonymously using your application logs in.

When an application that has the user profile enabled is started, ASP.NET creates a new class of type ProfileCommon, which inherits from the class. When the ProfileCommon class is generated, based on the profile properties specified in the Web.config file, a GetProfile method is added that enables you to retrieve a ProfileCommon object based on a user name. You can use the GetProfile method of the current profile to retrieve the property values of the anonymous profile. The anonymous property values can then be copied to the current profile for the authenticated user.

Provides data for the event of the class.

- Constructor

  The creates an instance of the class, sets the property to the specified , and sets the property to the specified .

  Creates an instance of the class.

  The of the current request.
  The anonymous identifier being migrated from.
  2.0.0.0
- Property
  System.String To be added.

  The property contains the unique identifier for an anonymous user. When someone who has been using your application anonymously logs in, you can handle the event to copy profile property values from the user's anonymous profile to his or her authenticated profile.

  When an application that has the user profile enabled is started, ASP.NET creates a new class of type ProfileCommon, which inherits from the class and includes profile properties specified in the Web.config file. When the ProfileCommon class is generated, a GetProfile method is added that enables you to retrieve a ProfileCommon object based on a user name. You can use the GetProfile method of the current profile to retrieve the property values of the anonymous profile. The anonymous property values can then be copied to the current profile for the authenticated user. See the second code example for an example of copying anonymous property values.

  Gets the anonymous identifier for the anonymous profile from which to migrate profile property values.

  2.0.0.0
- Property
  System.Web.HttpContext To be added.

  The object provides event information to the event of the class. The property provides access to the of the current request.

  Gets the for the current request.

  2.0.0.0