Query for database Accessfor aUser Group??

  • hi Friends,

    I have a Quick requirements..

    I have a User group and I need to know what are the database are accessible to this user group??

    Now i am able to know what is the command for a single user by using this following query but I need for a particular user group??

    Query:

    ------------

    SELECT [Name] as DatabaseName from master.dbo.sysdatabases

    WHERE ISNULL(HAS_DBACCESS ([Name]),0)=1

    ORDER BY [Name]

    Please Tell me the Sql Query for this??

    Cheers!

    Sandy.

    --

  • Hi All,

    I got a quick solution for this.

    Cheers!

    Sandy.

    --

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

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