sql server get users
snippet in sql

sql server get users

user6554

select * from master.sys.server_principals