title: Wordpress WPMU Login consistency across multisite network
body: <p>I'm working on a WPMU multisite install but have run into a wee problem.</p>
  
  <p>I create a user during a signup process on my primary domain. With something like the following.</p>
  
  <pre><code>$username = 'myname-'.time();
  $user_id = wpmu_create_user($username,'anypassword','example@gmail.com');
  
  add_user_to_blog(1, 5, 'subscriber');
  
  $user = wp_signon(array(
  "user_login" =&gt; $username,
  "user_password" =&gt; 'anypassword',
  "remember" =&gt; true
  ));
  </code></pre>
  
  <p>What I do is create the user, and then assign it to the primary domain only, and the log the user in with wp_signon. However, when visiting a subsite of the network on a sub domain which is importantly very restrictive in it's access. I am still logged in and the dashboard menu at the top still shows.</p>
  
  <p>I used is_user_blog() to try and determine whether the user should be able to see this and could direct them to the login page of the sub domain. But this would mean terminating the existing login session on the primary domain. Ideally it would be cool if you could be logged in to the primary domain and also logged into the sub domain but both treated seperately.</p>
  
  <p>Anyone run into this problem before?</p>