Code | MSSQL | MSSQL - Audit | MSSQL - Azure | SQL
MSSQL – List Users With Permissions
Sometimes you really just need to know how many users you have on your database, the below script will give a quick report for your database. Note: This script is designed to run on a selected database, you will have to select the database first and then run the script.