Forum Replies Created

Viewing post 16 (of 16 total)

  • RE: SQL Server 2005 script

    To a certain extent, you can query if the Domain Admins are in the group of the builtin\administrators. Try this:

    exec xp_logininfo 'BUILTIN\Administrators', 'members';

    Note: it returns only the highest privilege level...

Viewing post 16 (of 16 total)