Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System.Web.Profile Namespace

The System.Web.Profile namespace contains classes that are used to work with ASP.NET user profiles in Web server applications.

ASP.NET profiles are used to store and retrieve user settings in a data source such as a database. Profile information and property values are managed by using a profile provider. Profile information can be stored in a Microsoft SQL Server database by using the SqlProfileProvider class, or in a custom data source by using an implementation of the ProfileProvider abstract class.

ASP.NET profiles are configured by using the profile configuration section.

When an application starts that has profiles enabled, ASP.NET creates a new class of type ProfileCommon, which inherits from the ProfileBase class. Strongly typed accessors are added to the ProfileCommon class for each property that is defined in the profile configuration section. An instance of the ProfileCommon class is set as the value of the Profile property of the current HttpContext object. You can create a custom profile implementation that inherits from the ProfileBase abstract class and that defines properties for the user profile that are not specified in the profile configuration element.

  ClassDescription
Public classCustomProviderDataAttribute Provides a string of custom data to the provider for a profile property.
Public classDefaultProfile Represents a user-profile instance when no profile properties are defined.
Public classProfileAutoSaveEventArgs Provides data for the ProfileAutoSaving event of the ProfileModule class.
Public classProfileBaseProvides untyped access to profile property values and information.
Public classProfileEventArgs Provides data for the Personalize event of the ProfileModule class.
Public classProfileGroupBase Provides untyped access to grouped ASP.NET profile property values.
Public classProfileInfo Provides information about a user profile.
Public classProfileInfoCollection A collection of ProfileInfo objects.
Public classProfileManager Manages user profile data and settings.
Public classProfileMigrateEventArgs Provides data for the MigrateAnonymous event of the ProfileModule class.
Public classProfileModuleManages the creation of the user profile and profile events. This class cannot be inherited.
Public classProfileProvider Defines the contract that ASP.NET implements to provide profile services using custom profile providers.
Public classProfileProviderAttribute Identifies the profile provider for a user-profile property.
Public classProfileProviderCollection A collection of objects that inherit the ProfileProvider abstract class.
Public classSettingsAllowAnonymousAttribute Identifies whether a profile property can be set or accessed for an anonymous user.
Public classSqlProfileProviderManages storage of profile information for an ASP.NET application in a SQL Server database.
  DelegateDescription
Public delegateProfileAutoSaveEventHandler Represents the method that will handle the ProfileAutoSaving event of a ProfileModule.
Public delegateProfileEventHandler Represents the method that will handle the Personalize event of a ProfileModule.
Public delegateProfileMigrateEventHandler Represents the method that will handle the MigrateAnonymous event of the ProfileModule class.
  EnumerationDescription
Public enumerationProfileAuthenticationOption Describes the authentication type of user profiles to be searched.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker