SQL Server – Password & Privilege Checking
SQL Queries to Check Passwords & Privilege Assignments
This article introduces a few SQL queries to gather information about user passwords and privileges and permissions assigned on SQL Server systems.