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 ?
AJ@SQL
SSC Eights!
Points: 811
More actions
November 22, 2012 at 2:59 am
#1561557
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!