I am looking for a t-sql script which can list the databases and and the respective roles/privileges mapped for a particular user. Using SQL Server 2008 R2.
Did you sort this? I just found this code here:
http://www.pythian.com/news/29665/httpconsultingblogs-emc-comjamiethomsonarchive20070209sql-server-2005_3a00_-view-all-permissions-_2800_2_2900_-aspx/
I think I'll need to do a bit of tweaking, but essentially this has sorted it for me!
I hope it does for you too!
J