SQL Server Admin Role Alert Script

  • Comments posted to this topic are about the item SQL Server Admin Role Alert Script

  • further restrict in the WHERE clause to report only groups from your domain, and exclude system generated NT user accounts:

    and (

    isNTName = 1 and (

    (isNTUser = 1 and name like '<yourDomain>\%' )

    OR isNTGroup = 1

    )

    OR isNTName = 0

    )

  • further restrict in the WHERE clause to report only groups from your domain, and exclude system generated NT user accounts:

    and (

    isNTName = 1 and (

    (isNTUser = 1 and name like '<yourDomain>\%' )

    OR isNTGroup = 1

    )

    OR isNTName = 0

    )

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply