|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
| C# |
|
|---|---|
public class SqlMembershipProvider
|
|
| Visual Basic (Declaration) |
|
|---|---|
Public Class SqlMembershipProvider
|
|
The type exposes the following methods.
Public Methods
| Name | Description | |
|---|---|---|
|
|
ChangePassword |
Processes a request to update the password for a membership user.
(Overrides MembershipProvider..::ChangePassword(String, String, String).) |
|
|
ChangePasswordFromRecovery |
Changes the password of a user in the password recovery process.
|
|
|
ChangePasswordQuestionAndAnswer |
Processes a request to update the password question and answer for a membership user.
(Overrides MembershipProvider..::ChangePasswordQuestionAndAnswer(String, String, String, String).) |
|
|
ChangePasswordUnauthenticated | |
|
|
CheckHashedPassword |
Checks if the password that has been hashed by the login macro matches the password in the database.
|
|
|
CreateSalt |
Creates a salt of 32 characters.
|
|
|
CreateUser | Overloaded. |
|
|
Decrypt |
Decrypts the password.
|
|
|
DeleteUser |
Removes a user from the membership data source.
(Overrides MembershipProvider..::DeleteUser(String, Boolean).) |
|
|
EncodePassword |
Encrypts, Hashes, or leaves the password clear based on the PasswordFormat.
|
|
|
Encrypt |
Encrypts the password.
|
|
|
Equals | (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%).) |
|
|
GetErrorMessage |
Translates a status code into a user friendly error message.
|
|
|
GetHashCode | (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).) |
|
|
GetPasswordEncryptionFormat | Overloaded. |
|
|
GetType | (Inherited from Object.) |
|
|
GetUser | Overloaded. |
|
|
GetUserNameByEmail |
Gets the user name associated with the specified e-mail address.
(Overrides MembershipProvider..::GetUserNameByEmail(String).) |
|
|
Initialize | |
|
|
InitiatePasswordRecovery | |
|
|
ResetPassword |
Resets a user's password to a new, automatically generated password.
(Overrides MembershipProvider..::ResetPassword(String, String).) |
|
|
ToString | (Inherited from Object.) |
|
|
UnlockUser |
Clears a lock so that the membership user can be validated.
(Overrides MembershipProvider..::UnlockUser(String).) |
|
|
UpdateUser |
Updates information about a user in the data source.
(Overrides MembershipProvider..::UpdateUser(MembershipUser).) |
|
|
ValidateUser | Overloaded. |
Protected Methods
| Name | Description | |
|---|---|---|
|
|
DecryptPassword | (Inherited from MembershipProvider.) |
|
|
EncryptPassword | (Inherited from MembershipProvider.) |
|
|
EncryptPassword | (Inherited from MembershipProvider.) |
|
|
Finalize | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
|
|
OnValidatingPassword | (Inherited from MembershipProvider.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
|
|
IMembershipProvider..::..UpdateLastLoginDate | |
|
|
IMembershipProvider..::..UpdatePasswordFailureCount |
Helper method that performs the checks and updates associated with
password failure tracking.
|