You will need to list all users in the system database user_users as well as all databases from the system database _all_dbs. Cross-reference to identify users and databases they have access to.