Export (0) Print
Expand All

Membership Properties

The Membership type exposes the following members.

  Name Description
Public property Static member ApplicationName Gets or sets the name of the application.
Public property Static member EnablePasswordReset Gets a value indicating whether the current membership provider is configured to allow users to reset their passwords.
Public property Static member EnablePasswordRetrieval Gets a value indicating whether the current membership provider is configured to allow users to retrieve their passwords.
Public property Static member HashAlgorithmType The identifier of the algorithm used to hash passwords.
Public property Static member MaxInvalidPasswordAttempts Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
Public property Static member MinRequiredNonAlphanumericCharacters Gets the minimum number of special characters that must be present in a valid password.
Public property Static member MinRequiredPasswordLength Gets the minimum length required for a password.
Public property Static member PasswordAttemptWindow Gets the time window between which consecutive failed attempts to provide a valid password or password answer are tracked.
Public property Static member PasswordStrengthRegularExpression Gets the regular expression used to evaluate a password.
Public property Static member Provider Gets a reference to the default membership provider for the application.
Public property Static member Providers Gets a collection of the membership providers for the ASP.NET application.
Public property Static member RequiresQuestionAndAnswer Gets a value indicating whether the default membership provider requires the user to answer a password question for password reset and retrieval.
Public property Static member UserIsOnlineTimeWindow Specifies the number of minutes after the last-activity date/time stamp for a user during which the user is considered online.
Top
Show:
© 2014 Microsoft