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# Copy imageCopy Code
                                  public class SqlMembershipProvider
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class SqlMembershipProvider

The type exposes the following methods.

Public Methods

  Name Description
Public method ChangePassword
Processes a request to update the password for a membership user.
(Overrides MembershipProvider..::ChangePassword(String, String, String).)
Public method ChangePasswordFromRecovery
Changes the password of a user in the password recovery process.
Public method ChangePasswordQuestionAndAnswer
Processes a request to update the password question and answer for a membership user.
(Overrides MembershipProvider..::ChangePasswordQuestionAndAnswer(String, String, String, String).)
Public method ChangePasswordUnauthenticated
Public method CheckHashedPassword
Checks if the password that has been hashed by the login macro matches the password in the database.
Public method Static member CreateSalt
Creates a salt of 32 characters.
Public method CreateUser Overloaded.
Public method Static member Decrypt
Decrypts the password.
Public method DeleteUser
Removes a user from the membership data source.
(Overrides MembershipProvider..::DeleteUser(String, Boolean).)
Public method EncodePassword
Encrypts, Hashes, or leaves the password clear based on the PasswordFormat.
Public method Static member Encrypt
Encrypts the password.
Public method Equals (Inherited from Object.)
Public method 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%).)
Public method 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%).)
Public method GetAllUsers
Gets a collection of all the users in the data source in pages of data.
(Overrides MembershipProvider..::GetAllUsers(Int32, Int32, Int32%).)
Public method Static member GetErrorMessage
Translates a status code into a user friendly error message.
Public method GetHashCode (Inherited from Object.)
Public method GetNumberOfUsersOnline
Gets the number of users currently accessing the application.
(Overrides MembershipProvider..::GetNumberOfUsersOnline()()()().)
Public method GetPassword
Gets the password for the specified user name from the data source.
(Overrides MembershipProvider..::GetPassword(String, String).)
Public method GetPasswordEncryptionFormat Overloaded.
Public method GetType (Inherited from Object.)
Public method GetUser Overloaded.
Public method GetUserNameByEmail
Gets the user name associated with the specified e-mail address.
(Overrides MembershipProvider..::GetUserNameByEmail(String).)
Public method Initialize
Public method InitiatePasswordRecovery
Public method ResetPassword
Resets a user's password to a new, automatically generated password.
(Overrides MembershipProvider..::ResetPassword(String, String).)
Public method ToString (Inherited from Object.)
Public method UnlockUser
Clears a lock so that the membership user can be validated.
(Overrides MembershipProvider..::UnlockUser(String).)
Public method UpdateUser
Updates information about a user in the data source.
(Overrides MembershipProvider..::UpdateUser(MembershipUser).)
Public method ValidateUser Overloaded.

Protected Methods

  Name Description
Protected method DecryptPassword (Inherited from MembershipProvider.)
Protected method EncryptPassword (Inherited from MembershipProvider.)
Protected method EncryptPassword (Inherited from MembershipProvider.)
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnValidatingPassword (Inherited from MembershipProvider.)

Explicit Interface Implementations

  Name Description
Explicit interface implemetation Private method IMembershipProvider..::..UpdateLastLoginDate
Explicit interface implemetation Private method IMembershipProvider..::..UpdatePasswordFailureCount
Helper method that performs the checks and updates associated with password failure tracking.

See Also

Advanced