how to show user data base sql command code example Example: sql server get users select * from master.sys.server_principals