sqldbpool.com
Script to list out SQL Logins and Database User Mappings
You can use system stored procedure sp_msloginmappings to list out the SQL logins and database user mappings. Syntax sp_msloginmappings @Loginname , @Flags @Loginname – Optional argument, in …