I am going to get the list of all users, including Windows users and \'sa\', who have access to a particular database in MS SQL Server. Basically, I would like the list to look
Go for this:
SELECT name,type_desc FROM sys.sql_logins