Getting account lock status in MS SQL Server

Posted by Santhosha Kaldambe on Super User See other posts from Super User or by Santhosha Kaldambe
Published on 2010-04-09T11:15:34Z Indexed on 2010/04/09 11:23 UTC
Read the original article Hit count: 353

Filed under:
|

Hi,

I want to unlock one account in MS SQL Server. Before unlocking i have to check whether that account is locked or not. I want to unlock only if the account is locked. Is there any SQL query or stored procedure to get the "Locked" status of SQL user.

Thanks in advance Santhosha

© Super User or respective owner

Related posts about sql

Related posts about lock