title: Accessing User.Identity from Master Page
body: <p>I'm trying to access User.Identity from my master page so I can figure out which user is logged in, however I can't get it to work. If I import <code>System.Security.Principal</code> in my master page it makes no difference:</p>
  
  <pre><code>&lt;%@ Import Namespace="System.Security.Principal" %&gt;
  </code></pre>
  
  <p>I can access it fine if I try within a Controller. </p>
  
  <p>Any idea what I need to do?</p>