DefaultProfile Class

 

Represents a user-profile instance when no profile properties are defined.

Namespace:   System.Web.Profile
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Configuration.SettingsBase
    System.Web.Profile.ProfileBase
      System.Web.Profile.DefaultProfile

Public Class DefaultProfile
	Inherits ProfileBase

NameDescription
System_CAPS_pubmethodDefaultProfile()

Creates a new instance of the DefaultProfile class.

NameDescription
System_CAPS_pubpropertyContext

Gets the associated settings context.(Inherited from SettingsBase.)

System_CAPS_pubpropertyIsAnonymous

Gets a value indicating whether the user profile is for an anonymous user.(Inherited from ProfileBase.)

System_CAPS_pubpropertyIsDirty

Gets a value indicating whether any of the profile properties have been modified.(Inherited from ProfileBase.)

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the object is synchronized (thread safe). (Inherited from SettingsBase.)

System_CAPS_pubpropertyItem(String)

Gets or sets a profile property value indexed by the property name.(Inherited from ProfileBase.)

System_CAPS_pubpropertyLastActivityDate

Gets the most recent date and time that the profile was read or modified.(Inherited from ProfileBase.)

System_CAPS_pubpropertyLastUpdatedDate

Gets the most recent date and time that the profile was modified.(Inherited from ProfileBase.)

System_CAPS_pubpropertyProperties

Gets the collection of settings properties.(Inherited from SettingsBase.)

System_CAPS_pubpropertyPropertyValues

Gets a collection of settings property values.(Inherited from SettingsBase.)

System_CAPS_pubpropertyProviders

Gets a collection of settings providers.(Inherited from SettingsBase.)

System_CAPS_pubpropertyUserName

Gets the user name for the profile.(Inherited from ProfileBase.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProfileGroup(String)

Gets a group of properties identified by a group name.(Inherited from ProfileBase.)

System_CAPS_pubmethodGetPropertyValue(String)

Gets the value of a profile property.(Inherited from ProfileBase.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitialize(SettingsContext, SettingsPropertyCollection, SettingsProviderCollection)

Initializes internal properties used by SettingsBase object.(Inherited from SettingsBase.)

System_CAPS_pubmethodInitialize(String, Boolean)

Initializes the profile property values and information for the current user.(Inherited from ProfileBase.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSave()

Updates the profile data source with changed profile property values.(Inherited from ProfileBase.)

System_CAPS_pubmethodSetPropertyValue(String, Object)

Sets the value of a profile property.(Inherited from ProfileBase.)

System_CAPS_pubmethodToString()

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.

.NET Framework
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.

Return to top
Show: