







![]() ![]() ![]() |
MySQL Connector/Net |
MySQLMembershipProvider Methods |
MySQLMembershipProvider Class See Also Send Feedback |
![]() |
The MySQLMembershipProvider type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
ChangePassword |
Changes the password.
(Overrides MembershipProvider..::..ChangePassword(String, String, String).) |
![]() |
ChangePasswordQuestionAndAnswer |
Changes the password question and answer.
(Overrides MembershipProvider..::..ChangePasswordQuestionAndAnswer(String, String, String, String).) |
![]() |
CreateUser |
Adds a new membership user to the data source.
(Overrides MembershipProvider..::..CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus%).) |
![]() |
DecryptPassword | Decrypts an encrypted password. (Inherited from MembershipProvider.) |
![]() |
DeleteUser |
Removes a user from the membership data source.
(Overrides MembershipProvider..::..DeleteUser(String, Boolean).) |
![]() |
EncryptPassword(array<Byte>[]()[][]) | Encrypts a password. (Inherited from MembershipProvider.) |
![]() |
EncryptPassword(array<Byte>[]()[][], MembershipPasswordCompatibilityMode) | Encrypts the specified password using the specified password-compatibility mode. (Inherited from MembershipProvider.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FindUsersByEmail |
Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.
(Overrides MembershipProvider..::..FindUsersByEmail(String, Int32, Int32, Int32%).) |
![]() |
FindUsersByName |
Gets a collection of membership users where the user name contains the specified user name to match.
(Overrides MembershipProvider..::..FindUsersByName(String, Int32, Int32, Int32%).) |
![]() |
GetAllUsers |
Gets a collection of all the users in the data source in pages of data.
(Overrides MembershipProvider..::..GetAllUsers(Int32, Int32, Int32%).) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetNumberOfUsersOnline |
Gets the number of users currently accessing the application.
(Overrides MembershipProvider..::..GetNumberOfUsersOnline()()()().) |
![]() |
GetPassword |
Gets the password for the specified user name from the data source.
(Overrides MembershipProvider..::..GetPassword(String, String).) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetUser(Object, Boolean) |
Gets user information from the data source based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user.
(Overrides MembershipProvider..::..GetUser(Object, Boolean).) |
![]() |
GetUser(String, Boolean) |
Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.
(Overrides MembershipProvider..::..GetUser(String, Boolean).) |
![]() |
GetUserNameByEmail |
Gets the user name associated with the specified e-mail address.
(Overrides MembershipProvider..::..GetUserNameByEmail(String).) |
![]() |
Initialize |
Initializes the MySQL membership provider with the property values specified in the
ASP.NET application's configuration file. This method is not intended to be used directly
from your code.
(Overrides ProviderBase..::..Initialize(String, NameValueCollection).) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnValidatingPassword | Raises the ValidatingPassword event if an event handler has been defined. (Inherited from MembershipProvider.) |
![]() |
ResetPassword |
Resets a user's password to a new, automatically generated password.
(Overrides MembershipProvider..::..ResetPassword(String, String).) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
UnlockUser |
Unlocks the user.
(Overrides MembershipProvider..::..UnlockUser(String).) |
![]() |
UpdateUser |
Updates information about a user in the data source.
(Overrides MembershipProvider..::..UpdateUser(MembershipUser).) |
![]() |
ValidateUser |
Verifies that the specified user name and password exist in the data source.
(Overrides MembershipProvider..::..ValidateUser(String, String).) |