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 Code |
---|---|
public class SqlMembershipProvider |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class SqlMembershipProvider |
The type exposes the following properties.
Public Properties
Name | Description | |
---|---|---|
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.) |
|
Current |
The current Smartsite SQL Membership Provider
|
|
Description | (Inherited from ProviderBase.) | |
EnablePasswordReset |
Indicates whether you can use the ResetPassword method to reset a user's password.
(Overrides MembershipProvider..::EnablePasswordReset.) |
|
EnablePasswordRetrieval |
Indicates whether the membership provider is configured to allow users to retrieve
their passwords.
(Overrides MembershipProvider..::EnablePasswordRetrieval.) |
|
MaxInvalidPasswordAttempts |
The number of invalid password or password-answer attempts allowed before the membership
user is locked out.
(Overrides MembershipProvider..::MaxInvalidPasswordAttempts.) |
|
MinRequiredNonAlphanumericCharacters |
The minimum number of special characters that must be present in a valid password.
(Overrides MembershipProvider..::MinRequiredNonAlphanumericCharacters.) |
|
MinRequiredPasswordLength |
The minimum length required for a password.
(Overrides MembershipProvider..::MinRequiredPasswordLength.) |
|
Name | (Inherited from ProviderBase.) | |
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.) |
|
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.) |
|
PasswordStrengthRegularExpression |
The regular expression used to evaluate a password.
(Overrides MembershipProvider..::PasswordStrengthRegularExpression.) |
|
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.) |
|
RequiresUniqueEmail |
Indicates whether the membership provider is configured to require a unique e-mail
address for each user name.
(Overrides MembershipProvider..::RequiresUniqueEmail.) |
|
WriteExceptionsToEventLog |
If false, exceptions are thrown to the caller.
If true, exceptions are written to the event log.
|