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

Public Properties

  Name Description
Public property ApplicationName
The name of the application using the custom provider. The ApplicationName is used to identify users specific to an application. That is, the same user name can exist in the database for multiple ASP.NET applications that specify a different ApplicationName.
(Overrides MembershipProvider..::ApplicationName.)
Public property Static member Current
The current Smartsite SQL Membership Provider
Public property Description (Inherited from ProviderBase.)
Public property EnablePasswordReset
Indicates whether you can use the ResetPassword method to reset a user's password.
(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 MaxInvalidPasswordAttempts
The number of invalid password or password-answer attempts allowed before the membership user is locked out.
(Overrides MembershipProvider..::MaxInvalidPasswordAttempts.)
Public property MinRequiredNonAlphanumericCharacters
The minimum number of special characters that must be present in a valid password.
(Overrides MembershipProvider..::MinRequiredNonAlphanumericCharacters.)
Public property MinRequiredPasswordLength
The minimum length required for a password.
(Overrides MembershipProvider..::MinRequiredPasswordLength.)
Public property Name (Inherited from ProviderBase.)
Public property PasswordAttemptWindow
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
The format for storing passwords in the membership data store. - Clear: Passwords are not encrypted. - Encrypted: Passwords are encrypted using the encryption settings determined by the machineKey element configuration. - Hashed: Passwords are encrypted one-way using the SHA1 hashing algorithm. You can specify a hashing algorithm different than the SHA1 algorithm using the hashAlgorithmType attribute.
(Overrides MembershipProvider..::PasswordFormat.)
Public property PasswordStrengthRegularExpression
The regular expression used to evaluate a password.
(Overrides MembershipProvider..::PasswordStrengthRegularExpression.)
Public property RequiresQuestionAndAnswer
Indicates 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
Indicates whether the membership provider is configured to require a unique e-mail address for each user name.
(Overrides MembershipProvider..::RequiresUniqueEmail.)
Public property WriteExceptionsToEventLog
If false, exceptions are thrown to the caller. If true, exceptions are written to the event log.

See Also

Advanced