DefaultProfile DefaultProfile DefaultProfile DefaultProfile Class

Definition

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

public ref class DefaultProfile : System::Web::Profile::ProfileBase
public class DefaultProfile : System.Web.Profile.ProfileBase
type DefaultProfile = class
    inherit ProfileBase
Public Class DefaultProfile
Inherits ProfileBase
Inheritance

Remarks

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.

Constructors

DefaultProfile() DefaultProfile() DefaultProfile() DefaultProfile()

Creates a new instance of the DefaultProfile class.

Properties

Context Context Context Context

Gets the associated settings context.

(Inherited from SettingsBase)
IsAnonymous IsAnonymous IsAnonymous IsAnonymous

Gets a value indicating whether the user profile is for an anonymous user.

(Inherited from ProfileBase)
IsDirty IsDirty IsDirty IsDirty

Gets a value indicating whether any of the profile properties have been modified.

(Inherited from ProfileBase)
IsSynchronized IsSynchronized IsSynchronized IsSynchronized

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

(Inherited from SettingsBase)
Item[String] Item[String] Item[String] Item[String]

Gets or sets a profile property value indexed by the property name.

(Inherited from ProfileBase)
LastActivityDate LastActivityDate LastActivityDate LastActivityDate

Gets the most recent date and time that the profile was read or modified.

(Inherited from ProfileBase)
LastUpdatedDate LastUpdatedDate LastUpdatedDate LastUpdatedDate

Gets the most recent date and time that the profile was modified.

(Inherited from ProfileBase)
Properties Properties Properties Properties

Gets the collection of settings properties.

(Inherited from SettingsBase)
PropertyValues PropertyValues PropertyValues PropertyValues

Gets a collection of settings property values.

(Inherited from SettingsBase)
Providers Providers Providers Providers

Gets a collection of settings providers.

(Inherited from SettingsBase)
UserName UserName UserName UserName

Gets the user name for the profile.

(Inherited from ProfileBase)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProfileGroup(String) GetProfileGroup(String) GetProfileGroup(String) GetProfileGroup(String)

Gets a group of properties identified by a group name.

(Inherited from ProfileBase)
GetPropertyValue(String) GetPropertyValue(String) GetPropertyValue(String) GetPropertyValue(String)

Gets the value of a profile property.

(Inherited from ProfileBase)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(SettingsContext, SettingsPropertyCollection, SettingsProviderCollection) Initialize(SettingsContext, SettingsPropertyCollection, SettingsProviderCollection) Initialize(SettingsContext, SettingsPropertyCollection, SettingsProviderCollection) Initialize(SettingsContext, SettingsPropertyCollection, SettingsProviderCollection)

Initializes internal properties used by SettingsBase object.

(Inherited from SettingsBase)
Initialize(String, Boolean) Initialize(String, Boolean) Initialize(String, Boolean) Initialize(String, Boolean)

Initializes the profile property values and information for the current user.

(Inherited from ProfileBase)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save() Save() Save() Save()

Updates the profile data source with changed profile property values.

(Inherited from ProfileBase)
SetPropertyValue(String, Object) SetPropertyValue(String, Object) SetPropertyValue(String, Object) SetPropertyValue(String, Object)

Sets the value of a profile property.

(Inherited from ProfileBase)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also