Whether current user has a capability or role for a given blog.
This function is similar to current_user_can(), but allows you to check if the current user has a capability for another blog on the network. To check if the user has the capability for the current blog, you can just use current_user_can().
<?php current_user_can_for_blog($blog_id, $capability); ?>
current_user_can_for_blog() is located in