Home Forums SQL Server 2008 SQL Server 2008 - General Script to get list of databases for which a user has db_owner database role ? RE: Script to get list of databases for which a user has db_owner database role ?

  • I also wanted something similar recently and used this article to get the list!

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=172689

    You may want to set a filter in the at the end as: loginname='<required user>'

    Hope this helps!