title: Get Current User ASP.NET Visual Studio 2013 Preview ClaimsPrinciple
body: <p>I'm trying to get the current user in a web forms project using the new Visual Studio 2013 Preview for Web. I'm able to get the username using Page.User, but trying to get the user id is where I'm stuck. It's using this new Identity Model thing they've come out with.</p>
  
  <p>This is what I've got:</p>
  
  <pre><code>//Gets the correct username
  string uname = User.Identity.Name;
  //Returns a null object
  Microsoft.AspNet.Identity.IUser user = IdentityConfig.Users.Find(uname);
  //What I hope to call to add a user to a role
  IdentityConfig.Roles.AddUserToRole("NPO", user.Id);
  </code></pre>