1

I want to use SimpleMembershipProvider for membership management. and use MaxInvalidPasswordAttempts SO when user tries to login and if MaxInvalidPasswordAttemptsexceeds. It should deactivate the account. I want to Set MaxInvalidPasswordAttempts in SimpleMembershipProvider But its not happening.

EDIT :
Okay, I learned that its not possible. So, I have to inherit the SimpleMembershipProvider class and override those functions.

REQUEST :
Can anybody give the already implemented class with all the functions in it, just like the SqlMembershipProvider.

Pratik Bhoir
  • 2,074
  • 7
  • 19
  • 36

1 Answers1

1

You can't. At least not in code, because it's a read-only property.

Also you won't find it in Web.config.

According to Darin Dimitrov, if you want to set this property, you need to "implement it yourself".

Community
  • 1
  • 1
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72