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 LDAPMembershipProvider
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class LDAPMembershipProvider

The type exposes the following members.

Public Constructors

  Name Description
Public method LDAPMembershipProvider

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 ChangePasswordQuestionAndAnswer
Processes a request to update the password question and answer for a membership user.
(Overrides MembershipProvider..::ChangePasswordQuestionAndAnswer(String, String, String, String).)
Public method CreateUser
Adds a new membership user to the data source.
(Overrides MembershipProvider..::CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus%).)
Public method DeleteUser
Removes a user from the membership data source.
(Overrides MembershipProvider..::DeleteUser(String, Boolean).)
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 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 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 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 UpdateLastLoginDate
Updates the last login date and reset the failed password count and window.
Public method UpdatePasswordFailureCount
Updates the password failure count.
Public method UpdateUser
Updates information about a user in the data source.
(Overrides MembershipProvider..::UpdateUser(MembershipUser).)
Public method ValidateUser
Verifies that the specified user name and password exist in the data source.
(Overrides MembershipProvider..::ValidateUser(String, String).)

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.)

Public Properties

  Name Description
Public property ApplicationName
The name of the application using the custom membership provider.
(Overrides MembershipProvider..::ApplicationName.)
Public property Static member Current
Gets the current LDAP Membership Provider
Public property Description (Inherited from ProviderBase.)
Public property EnablePasswordReset
Indicates whether the membership provider is configured to allow users to reset their passwords.
(Overrides MembershipProvider..::EnablePasswordReset.)
Public property EnablePasswordRetrieval
Indicates whether the membership provider is configured to allow users to retrieve their passwords.
(Overrides MembershipProvider..::EnablePasswordRetrieval.)
Public property Gateway
Gets the LDAP Gateway.
Public property MaxInvalidPasswordAttempts
Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
(Overrides MembershipProvider..::MaxInvalidPasswordAttempts.)
Public property MinRequiredNonAlphanumericCharacters
Gets the minimum number of special characters that must be present in a valid password.
(Overrides MembershipProvider..::MinRequiredNonAlphanumericCharacters.)
Public property MinRequiredPasswordLength
Gets the minimum length required for a password.
(Overrides MembershipProvider..::MinRequiredPasswordLength.)
Public property Name (Inherited from ProviderBase.)
Public property PasswordAttemptWindow
Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out.
(Overrides MembershipProvider..::PasswordAttemptWindow.)
Public property PasswordFormat
Gets a value indicating the format for storing passwords in the membership data store.
(Overrides MembershipProvider..::PasswordFormat.)
Public property PasswordStrengthRegularExpression
Gets the regular expression used to evaluate a password.
(Overrides MembershipProvider..::PasswordStrengthRegularExpression.)
Public property RequiresQuestionAndAnswer
Gets a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval.
(Overrides MembershipProvider..::RequiresQuestionAndAnswer.)
Public property RequiresUniqueEmail
Gets a value indicating whether the membership provider is configured to require a unique e-mail address for each user name.
(Overrides MembershipProvider..::RequiresUniqueEmail.)

Public Events

  Name Description
Public event ValidatingPassword (Inherited from MembershipProvider.)

See Also

Advanced