Click or drag to resize

MySQLProfileProvider Class

Manages storage of profile information for an ASP.NET application in a MySQL database.
Inheritance Hierarchy

Namespace:  MySql.Web.Profile
Assembly:  MySql.Web (in MySql.Web.dll) Version: 8.0.22
Syntax
public class MySQLProfileProvider : ProfileProvider

The MySQLProfileProvider type exposes the following members.

Constructors
  NameDescription
Public methodMySQLProfileProvider
Initializes a new instance of the MySQLProfileProvider class
Top
Properties
  NameDescription
Public propertyApplicationName
Gets or sets the name of the currently running application.
(Overrides SettingsProviderApplicationName.)
Public propertyDescription
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.)
Public propertyName
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.)
Top
Methods
  NameDescription
Public methodDeleteInactiveProfiles
When overridden in a derived class, deletes all user-profile data for profiles in which the last activity date occurred before the specified date.
(Overrides ProfileProviderDeleteInactiveProfiles(ProfileAuthenticationOption, DateTime).)
Public methodDeleteProfiles(String)
When overridden in a derived class, deletes profile properties and information for profiles that match the supplied list of user names.
(Overrides ProfileProviderDeleteProfiles(String).)
Public methodDeleteProfiles(ProfileInfoCollection)
When overridden in a derived class, deletes profile properties and information for the supplied list of profiles.
(Overrides ProfileProviderDeleteProfiles(ProfileInfoCollection).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindInactiveProfilesByUserName
When overridden in a derived class, retrieves profile information for profiles in which the last activity date occurred on or before the specified date and the user name matches the specified user name.
(Overrides ProfileProviderFindInactiveProfilesByUserName(ProfileAuthenticationOption, String, DateTime, Int32, Int32, Int32).)
Public methodFindProfilesByUserName
When overridden in a derived class, retrieves profile information for profiles in which the user name matches the specified user names.
(Overrides ProfileProviderFindProfilesByUserName(ProfileAuthenticationOption, String, Int32, Int32, Int32).)
Public methodGetAllInactiveProfiles
When overridden in a derived class, retrieves user-profile data from the data source for profiles in which the last activity date occurred on or before the specified date.
(Overrides ProfileProviderGetAllInactiveProfiles(ProfileAuthenticationOption, DateTime, Int32, Int32, Int32).)
Public methodGetAllProfiles
When overridden in a derived class, retrieves user profile data for all profiles in the data source.
(Overrides ProfileProviderGetAllProfiles(ProfileAuthenticationOption, Int32, Int32, Int32).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNumberOfInactiveProfiles
When overridden in a derived class, returns the number of profiles in which the last activity date occurred on or before the specified date.
(Overrides ProfileProviderGetNumberOfInactiveProfiles(ProfileAuthenticationOption, DateTime).)
Public methodGetPropertyValues
Returns the collection of settings property values for the specified application instance and settings property group.
(Overrides SettingsProviderGetPropertyValues(SettingsContext, SettingsPropertyCollection).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initializes the provider.
(Overrides ProviderBaseInitialize(String, NameValueCollection).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPropertyValues
Sets the values of the specified group of property settings.
(Overrides SettingsProviderSetPropertyValues(SettingsContext, SettingsPropertyValueCollection).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also