DefaultProfile Class
Represents a user-profile instance when no profile properties are defined.
Assembly: System.Web (in System.Web.dll)
System.Configuration.SettingsBase
System.Web.Profile.ProfileBase
System.Web.Profile.DefaultProfile
| Name | Description | |
|---|---|---|
![]() | DefaultProfile() | Creates a new instance of the DefaultProfile class. |
| Name | Description | |
|---|---|---|
![]() | Context | Gets the associated settings context.(Inherited from SettingsBase.) |
![]() | IsAnonymous | Gets a value indicating whether the user profile is for an anonymous user.(Inherited from ProfileBase.) |
![]() | IsDirty | Gets a value indicating whether any of the profile properties have been modified.(Inherited from ProfileBase.) |
![]() | IsSynchronized | Gets a value indicating whether access to the object is synchronized (thread safe). (Inherited from SettingsBase.) |
![]() | Item(String) | Gets or sets a profile property value indexed by the property name.(Inherited from ProfileBase.) |
![]() | LastActivityDate | Gets the most recent date and time that the profile was read or modified.(Inherited from ProfileBase.) |
![]() | LastUpdatedDate | Gets the most recent date and time that the profile was modified.(Inherited from ProfileBase.) |
![]() | Properties | Gets the collection of settings properties.(Inherited from SettingsBase.) |
![]() | PropertyValues | Gets a collection of settings property values.(Inherited from SettingsBase.) |
![]() | Providers | Gets a collection of settings providers.(Inherited from SettingsBase.) |
![]() | UserName | Gets the user name for the profile.(Inherited from ProfileBase.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetProfileGroup(String) | Gets a group of properties identified by a group name.(Inherited from ProfileBase.) |
![]() | GetPropertyValue(String) | Gets the value of a profile property.(Inherited from ProfileBase.) |
![]() | GetType() | |
![]() | Initialize(SettingsContext, SettingsPropertyCollection, SettingsProviderCollection) | Initializes internal properties used by SettingsBase object.(Inherited from SettingsBase.) |
![]() | Initialize(String, Boolean) | Initializes the profile property values and information for the current user.(Inherited from ProfileBase.) |
![]() | MemberwiseClone() | |
![]() | Save() | Updates the profile data source with changed profile property values.(Inherited from ProfileBase.) |
![]() | SetPropertyValue(String, Object) | Sets the value of a profile property.(Inherited from ProfileBase.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The DefaultProfile class is used by ASP.NET to return a default instance of a user profile when the profile feature is enabled but no properties are defined.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


