473,785 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Locked user & GetPassword()

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="AspNetSql MembershipProvi der"/>
<add name="AspNetSql MembershipProvi der"
type="System.We b.Security.SqlM embershipProvid er, System.Web,
Version=2.0.0.0 ,
Culture=neutral ,
PublicKeyToken= b03f5f7f11d50ad e"
connectionStrin gName="SQLConnS tring"
enablePasswordR etrieval="true"
enablePasswordR eset="true"
requiresQuestio nAndAnswer="fal se"
applicationName ="/"
requiresUniqueE mail="false"
minRequiredPass wordLength="1"
minRequiredNona lphanumericChar acters="0"
passwordFormat= "Clear"
maxInvalidPassw ordAttempts="3"
passwordAttempt Window="10"
passwordStrengt hRegularExpress ion=""/>
</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

Nov 17 '05 #1
0 1269

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6016
by: David C. Barber | last post by:
I'm trying to determine which user has locked a given record from VB6. I know I can use sp_lock and sp_who, and match up the data to determine which users have locked records in my database, however I haven't seen a way to match the specific user to the specific record. What am I missing here? Thanks! *David*
2
29772
by: Anastassios Giannaras | last post by:
Hello I have made an small access Database that is used by 4-5 people every day. Very often through the users get the message "Could Not Update; Currently Locked" There is an entry about that problem in the MS knowledge Base but I don't really understand how this could be solved. I would be extremely greatful if someone could explain to me in simple terms (if possible)what I need to do...
0
1352
by: jimmojelsky | last post by:
Access97 database - it is set up to share between several computers - some users have full access, others only have read access - locking is set at "no lock" - everything works unless one of the workstations has an open query - the other workstations then get a "records locked" message if they attempt to run a query - I have been trying to solve this one for quite some time - can anyone help? -- Posted via http://dbforums.com
6
5681
by: DebbieG | last post by:
I have created a database for a client and was told that it was to be a one-user database. Well, you know the next statement ... now they want 3 people to be able to use the database. (FYI, I have never created a database for multiusers. I've done some searching but not finding what I want.) I have split the database. In Tools, Options, I have set the following: Default open mode = Shared Default record locking = Edited Record
1
2126
by: Rolan | last post by:
Having tried various permutations of Before Update and well for that matter, After Update, OnExit, OnEnter, etc. and also Locked controls, I'm still unable to obtain the intended results. There are actually two parts of what I'm trying to accomplish, but are interrelated. When one part performs as it should, then upon implementation of the other, conflicts arise and vice versa. A form (frmEvents) is used to logged various events and one...
2
5681
by: Vinny Vinn | last post by:
On occasion a Network User Account gets locked out. This causes lots of problems as the account is used to run different programs. The programs fail when the user account is locked out. I would like to write a c# program that will check if the Network User Account is locked out? Can someone point me in the right direction? An API? TIA, Vinny
2
2878
by: Benny Ng | last post by:
The authentication code of enterprise libiary like the following: IAuthenticationProvider authenticationProvider = AuthenticationFactory.GetAuthenticationProvider(); IIdentity identity; NamePasswordCredential credentials = new NamePasswordCredential(username, password); bool authenticated = authenticationProvider.Authenticate(credentials, out identity); Sureally I had set the properly configuration items by Configuration Tools.And yes,...
6
4510
by: ljstern | last post by:
Hello. I am using MS Access 2003 with XP/pro. I have a form that has the following properties set through the property sheet: form: AllowAdditions = False CartridgeID field: Locked = True The AllowAdditions property is set so that the user can navigate through the records but not be able to begin a new record without clicking the New Record button. The ID field is locked so the user cannot change that field, while still being able to...
14
3269
by: chromis | last post by:
Hi, I've been trying to implement a more OOP oriented approach to dealing with user security on one of my websites, and I am trying to validate the user against an array of roles, however I am struggling with a type error: The argument ROLES passed to function setRoles() is not of type array. If the component name is specified as a type of this argument, the reason for this error might be that a definition file for such component...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9485
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9958
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2890
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.