sp_MShasdbaccess (Transact-SQL)
SQL Server 2012
Lists the name and owner of all the databases to which the user has access.
Lists the name and owner of all the databases to which the user has access.