DefaultProfileProvider Class

 

Represents the implemented ProfileProvider using EntityFramework.

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

Inheritance Hierarchy

System.Object
  System.Configuration.Provider.ProviderBase
    System.Configuration.SettingsProvider
      System.Web.Profile.ProfileProvider
        System.Web.Providers.DefaultProfileProvider

Syntax

public class DefaultProfileProvider : ProfileProvider
public ref class DefaultProfileProvider : ProfileProvider
type DefaultProfileProvider = 
    class
        inherit ProfileProvider
    end
Public Class DefaultProfileProvider
    Inherits ProfileProvider

Constructors

Name Description
System_CAPS_pubmethod DefaultProfileProvider()

Initializes a new instance of the DefaultProfileProvider class.

Properties

Name Description
System_CAPS_pubproperty ApplicationName

Gets or sets the application name.(Overrides SettingsProvider.ApplicationName.)

System_CAPS_pubproperty Description

(Inherited from ProviderBase.)

System_CAPS_pubproperty Name

(Inherited from ProviderBase.)

Methods

Name Description
System_CAPS_pubmethod DeleteInactiveProfiles(ProfileAuthenticationOption, DateTime)

Deletes inactive profiles.(Overrides ProfileProvider.DeleteInactiveProfiles(ProfileAuthenticationOption, DateTime).)

System_CAPS_pubmethod DeleteProfiles(ProfileInfoCollection)

Deletes the profiles specified.(Overrides ProfileProvider.DeleteProfiles(ProfileInfoCollection).)

System_CAPS_pubmethod DeleteProfiles(String[])

Deletes the specified profiles.(Overrides ProfileProvider.DeleteProfiles(String[]).)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FindInactiveProfilesByUserName(ProfileAuthenticationOption, String, DateTime, Int32, Int32, Int32)

Returns inactive profiles by username. (Overrides ProfileProvider.FindInactiveProfilesByUserName(ProfileAuthenticationOption, String, DateTime, Int32, Int32, Int32).)

System_CAPS_pubmethod FindProfilesByUserName(ProfileAuthenticationOption, String, Int32, Int32, Int32)

Finds profiles that match the username.(Overrides ProfileProvider.FindProfilesByUserName(ProfileAuthenticationOption, String, Int32, Int32, Int32).)

System_CAPS_pubmethod GetAllInactiveProfiles(ProfileAuthenticationOption, DateTime, Int32, Int32, Int32)

Returns a page of all inactive profiles.(Overrides ProfileProvider.GetAllInactiveProfiles(ProfileAuthenticationOption, DateTime, Int32, Int32, Int32).)

System_CAPS_pubmethod GetAllProfiles(ProfileAuthenticationOption, Int32, Int32, Int32)

Returns a page of all profiles.(Overrides ProfileProvider.GetAllProfiles(ProfileAuthenticationOption, Int32, Int32, Int32).)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetNumberOfInactiveProfiles(ProfileAuthenticationOption, DateTime)

Returns the number of inactive profiles.(Overrides ProfileProvider.GetNumberOfInactiveProfiles(ProfileAuthenticationOption, DateTime).)

System_CAPS_pubmethod GetPropertyValues(SettingsContext, SettingsPropertyCollection)

Reads a profile.(Overrides SettingsProvider.GetPropertyValues(SettingsContext, SettingsPropertyCollection).)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize(String, NameValueCollection)

Initializes the provider from configuration.(Overrides ProviderBase.Initialize(String, NameValueCollection).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetPropertyValues(SettingsContext, SettingsPropertyValueCollection)

Saves a profile.(Overrides SettingsProvider.SetPropertyValues(SettingsContext, SettingsPropertyValueCollection).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Providers Namespace
ASP.NET Identity

Return to top