Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 May 2006 15:16:26 +0000 (UTC)
you can do that manually by checking the IsLockedOut property - nothing built in AFAIK
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
Dominick,
Here is what I am trying to do. The below portion is the membership
configuration setup in web.config file in my application.
the value maxInvalidPasswordAttempts="2" works good. I mean it doesn't
allow the users though they have entered correct password the third
time as we have provided its value 2.
But I am just wondering is there a way that said "User has been locked
out Please contact Adin @ 222-222-2222. Sorry for the incovenince"
kind of message?
Thanks
-L
<!--<system.web>
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, ..."
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="2"
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""/>
</providers>
</membership>
</system.web>-->
.
- Follow-Ups:
- References:
- Prev by Date: Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- Next by Date: adsi and Cannot create ActiveX component
- Previous by thread: Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- Next by thread: Re: How do I retreive Password, Secret Question and its answer from the Memberhisp API?
- Index(es):
Relevant Pages
|
|