How to make a MENU_LOCAL_TASK on a user's profile only appear on their profile?
Instead of user_access, define your own access callback function and then pass the user object to that.

So 'access callback' => 'yourmodule_analytics_access' and 'access arguments' => array(1).

In that function, compare the user id and check the permission.

function yourmodule_analytics_access($account) {
  global $user;
  return $user-&gt;uid == $account-&gt;uid &amp;&amp; user_access('access ClientCompanyName services');
}