All,
Is this a bug or a feature? If a user is locked, GetPassword() throws
an exception. Here's my web.config entry for the provider...
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=b03f5f7f11d50ade"
connectionStringName="SQLConnString"
enablePasswordRetrieval="true"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
passwordFormat="Clear"
maxInvalidPasswordAttempts="3"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""/>
</providers>
</membership>
Here's what I want to do... & I am almost there... If a user locks
their account & they wait 15 minutes and then enter the correct
password, unlock the user & allow normal operations.
Option 1 - If the account is locked, unlock it & then check the
password.
Option 2 - If the account is locked, just unlock it & let .NET handle
checking the password.
I really want to leave the account locked until they enter a correct
password.
PLEASE, someone throw me a bone, here!?!?!?
TIA
Ken Linder