Wednesday, October 2, 2013

Check the enforced password expiration setting of all users on SQL Server


select name,is_expiration_checked
from sys.sql_logins
where is_expiration_checked=1

No comments:

Post a Comment