Posted on 12/11/2015 09:34:39
You can configure the lockout feature in Management Center, but I don't think there is any way to 'unlock' a user manually. The user will just have to wait and try again later (blocking period).
Failed login attempts are stored in the database in the table GeneralLog.
If you really need to 'unlock' a user immediately then you can use the following script to do that...
DECLARE @username AS nvarchar(max)
SET @username = 'test'
DECLARE @blockingperiod AS int
SET @blockingperiod = 10
DELETE FROM GeneralLog
WHERE LogAction = 'Frontend login failed'
AND LogDate > DATEADD(MINUTE,-@blockingperiod,GETDATE())
AND LogDescription LIKE 'UID:' + @username + ',IP:%'