Click or drag to resize

MySqlSimpleMembershipProvider Class

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

Namespace:  MySql.Web.Security
Assembly:  MySql.Web (in MySql.Web.dll) Version: 8.0.22
Syntax
public class MySqlSimpleMembershipProvider : ExtendedMembershipProvider

The MySqlSimpleMembershipProvider type exposes the following members.

Constructors
  NameDescription
Public methodMySqlSimpleMembershipProvider
Initializes a new instance of the MySqlSimpleMembershipProvider class
Public methodMySqlSimpleMembershipProvider(MembershipProvider)
Initializes a new instance of the MySqlSimpleMembershipProvider class
Top
Properties
  NameDescription
Public propertyApplicationName (Overrides MembershipProviderApplicationName.)
Public propertyConnectionString
Gets or sets the connection string.
Public propertyConnectionStringName
Gets or sets the name associated to the connection string when stored in the configuration manager.
Public propertyDescription
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.)
Public propertyEnablePasswordReset (Overrides MembershipProviderEnablePasswordReset.)
Public propertyEnablePasswordRetrieval (Overrides MembershipProviderEnablePasswordRetrieval.)
Public propertyMaxInvalidPasswordAttempts (Overrides MembershipProviderMaxInvalidPasswordAttempts.)
Public propertyMinRequiredNonAlphanumericCharacters (Overrides MembershipProviderMinRequiredNonAlphanumericCharacters.)
Public propertyMinRequiredPasswordLength (Overrides MembershipProviderMinRequiredPasswordLength.)
Public propertyName
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.)
Public propertyPasswordAttemptWindow (Overrides MembershipProviderPasswordAttemptWindow.)
Public propertyPasswordFormat (Overrides MembershipProviderPasswordFormat.)
Public propertyPasswordStrengthRegularExpression (Overrides MembershipProviderPasswordStrengthRegularExpression.)
Public propertyProviderName
Gets or sets the name of this provider.
Public propertyRequiresQuestionAndAnswer (Overrides MembershipProviderRequiresQuestionAndAnswer.)
Public propertyRequiresUniqueEmail (Overrides MembershipProviderRequiresUniqueEmail.)
Public propertyUserIdColumn
Gets the name of the column storing the user ids.
Public propertyUserNameColumn
Gets the name of the column storing the user names.
Public propertyUserTableName
Gets the name of the table storing user information.
Top
Methods
  NameDescription
Public methodChangePassword (Overrides MembershipProviderChangePassword(String, String, String).)
Public methodChangePasswordQuestionAndAnswer (Overrides MembershipProviderChangePasswordQuestionAndAnswer(String, String, String, String).)
Public methodConfirmAccount(String) (Overrides ExtendedMembershipProvider.ConfirmAccount(String).)
Public methodConfirmAccount(String, String) (Overrides ExtendedMembershipProvider.ConfirmAccount(String, String).)
Public methodCreateAccount(String, String) (Inherited from ExtendedMembershipProvider.)
Public methodCreateAccount(String, String, Boolean) (Overrides ExtendedMembershipProvider.CreateAccount(String, String, Boolean).)
Public methodCreateOrUpdateOAuthAccount (Overrides ExtendedMembershipProvider.CreateOrUpdateOAuthAccount(String, String, String).)
Public methodCreateUser (Overrides MembershipProviderCreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus).)
Public methodCreateUserAndAccount(String, String) (Inherited from ExtendedMembershipProvider.)
Public methodCreateUserAndAccount(String, String, Boolean) (Inherited from ExtendedMembershipProvider.)
Public methodCreateUserAndAccount(String, String, IDictionaryString, Object) (Inherited from ExtendedMembershipProvider.)
Public methodCreateUserAndAccount(String, String, Boolean, IDictionaryString, Object) (Overrides ExtendedMembershipProvider.CreateUserAndAccount(String, String, Boolean, IDictionaryString, Object).)
Protected methodDecryptPassword
Decrypts an encrypted password.
(Inherited from MembershipProvider.)
Public methodDeleteAccount (Overrides ExtendedMembershipProvider.DeleteAccount(String).)
Public methodDeleteOAuthAccount (Overrides ExtendedMembershipProvider.DeleteOAuthAccount(String, String).)
Public methodDeleteOAuthToken (Overrides ExtendedMembershipProvider.DeleteOAuthToken(String).)
Public methodDeleteUser (Overrides MembershipProviderDeleteUser(String, Boolean).)
Protected methodEncryptPassword(Byte)
Encrypts a password.
(Inherited from MembershipProvider.)
Protected methodEncryptPassword(Byte, MembershipPasswordCompatibilityMode)
Encrypts the specified password using the specified password-compatibility mode.
(Inherited from MembershipProvider.)
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 methodFindUsersByEmail (Overrides MembershipProviderFindUsersByEmail(String, Int32, Int32, Int32).)
Public methodFindUsersByName (Overrides MembershipProviderFindUsersByName(String, Int32, Int32, Int32).)
Public methodGeneratePasswordResetToken(String) (Inherited from ExtendedMembershipProvider.)
Public methodGeneratePasswordResetToken(String, Int32) (Overrides ExtendedMembershipProvider.GeneratePasswordResetToken(String, Int32).)
Public methodGetAccountsForUser (Overrides ExtendedMembershipProvider.GetAccountsForUser(String).)
Public methodGetAllUsers (Overrides MembershipProviderGetAllUsers(Int32, Int32, Int32).)
Public methodGetCreateDate (Overrides ExtendedMembershipProvider.GetCreateDate(String).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLastPasswordFailureDate (Overrides ExtendedMembershipProvider.GetLastPasswordFailureDate(String).)
Public methodGetNumberOfUsersOnline (Overrides MembershipProviderGetNumberOfUsersOnline.)
Public methodGetOAuthTokenSecret (Overrides ExtendedMembershipProvider.GetOAuthTokenSecret(String).)
Public methodGetPassword (Overrides MembershipProviderGetPassword(String, String).)
Public methodGetPasswordChangedDate (Overrides ExtendedMembershipProvider.GetPasswordChangedDate(String).)
Public methodGetPasswordFailuresSinceLastSuccess (Overrides ExtendedMembershipProvider.GetPasswordFailuresSinceLastSuccess(String).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUser(Object, Boolean) (Overrides MembershipProviderGetUser(Object, Boolean).)
Public methodGetUser(String, Boolean) (Overrides MembershipProviderGetUser(String, Boolean).)
Public methodGetUserId
Gets the id of the specified user.
Public methodGetUserIdFromOAuth (Overrides ExtendedMembershipProvider.GetUserIdFromOAuth(String, String).)
Public methodGetUserIdFromPasswordResetToken (Overrides ExtendedMembershipProvider.GetUserIdFromPasswordResetToken(String).)
Public methodGetUserNameByEmail (Overrides MembershipProviderGetUserNameByEmail(String).)
Public methodGetUserNameFromId (Overrides ExtendedMembershipProvider.GetUserNameFromId(Int32).)
Public methodHasLocalAccount (Overrides ExtendedMembershipProvider.HasLocalAccount(Int32).)
Public methodInitialize (Overrides ProviderBaseInitialize(String, NameValueCollection).)
Public methodIsConfirmed (Overrides ExtendedMembershipProvider.IsConfirmed(String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnValidatingPassword
Raises the ValidatingPassword event if an event handler has been defined.
(Inherited from MembershipProvider.)
Public methodReplaceOAuthRequestTokenWithAccessToken (Overrides ExtendedMembershipProvider.ReplaceOAuthRequestTokenWithAccessToken(String, String, String).)
Public methodResetPassword (Overrides MembershipProviderResetPassword(String, String).)
Public methodResetPasswordWithToken (Overrides ExtendedMembershipProvider.ResetPasswordWithToken(String, String).)
Public methodStoreOAuthRequestToken (Overrides ExtendedMembershipProvider.StoreOAuthRequestToken(String, String).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlockUser (Overrides MembershipProviderUnlockUser(String).)
Public methodUpdateUser (Overrides MembershipProviderUpdateUser(MembershipUser).)
Public methodValidateUser (Overrides MembershipProviderValidateUser(String, String).)
Top
Events
  NameDescription
Public eventValidatingPassword
Occurs when a user is created, a password is changed, or a password is reset.
(Inherited from MembershipProvider.)
Top
See Also