[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

SQL Server Find Locked Out Logins

Posted on 2010-04-01
1
Medium Priority
?
484 Views
Last Modified: 2012-05-09
I have a SQL Server instance where the users seem to lock themselves out a lot. Instead of using the UI to find out if the user is locked out or not, I would like to execute a query. Is anyone aware of a query that can show what logins are locked out?
0
Comment
Question by:computerstreber
1 Comment
 
LVL 60

Accepted Solution

by:
chapmandew earned 2000 total points
ID: 29360106
select * from sys.server_principals
where is_disabled = 1
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

608 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question