How to get admin user_id of a blog in a multisite network?

Hello guys!

I need to get the user id of user admin of a blog in a multisite network, how can I do that?

I need to do that to get user_id on DB wp_bp_xprofile_data choose field_id and print the value in a widget

Could you guys help me?

Thanks