WIth this command you can see witch user that have SysAdmins access.
1 2 3 4 |
SELECT name,type_desc,is_disabled FROM master.sys.server_principals WHERE IS_SRVROLEMEMBER ('sysadmin',name) = 1 ORDER BY name |
WIth this command you can see witch user that have SysAdmins access.
1 2 3 4 |
SELECT name,type_desc,is_disabled FROM master.sys.server_principals WHERE IS_SRVROLEMEMBER ('sysadmin',name) = 1 ORDER BY name |