:: Professional ::
 
You are here: Blog
 

Hilbert Solutions, LLC Latest Dotnetnuke Modules...

Advanced News Ticker        Constant Contact Sign Up

 

Blog
Sep17

Written by:slhilbert
9/17/2009 7:33 AM 

Here is a stored procedure I am using for a Dotnetnuke custom authentication provider that I use to get the number of failed login attempts for user.

 

create PROCEDURE [dbo].[GetFailedPasswordAttemptsUsername]
@Username nvarchar(100)
AS select aspnet_Membership.FailedPasswordAttemptCountfrom aspnet_Usersleft join aspnet_Membership
on aspnet_Membership.UserID = aspnet_Users.UserID
where aspnet_Users.username = @username

 

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
Search Blog
Blog Archive
Terms Of Use| Privacy Statement Hilbert Solutions, LLC Since 2007