title: Get ASP.NET Identity Current User In View
body: <p>I use ASP.NET Identity 2.0 and MVC. I need to logged user's name,surname,email etc.. in view. How can get it? I can get just @User.Identity but there no my user class's property.</p>
  
  <pre><code>//in my view, i need here my ApplicationUser class
  &lt;div&gt;
  @User.Identity.Name
  &lt;/div&gt;
  
  //ApplicationUser class
  public class ApplicationUser : IdentityUser&lt;int, CustomUserLogin, CustomUserRole,
  CustomUserClaim&gt; 
  {
      public ApplicationUser()
      {
          this.CreatedDate = DateTime.Now;
      }
  
      public DateTime CreatedDate { get; set; }
  
      public string Name { get; set; }
  
      public string Surname { get; set; }
  
      public string TaxOffice { get; set; }
  }
  </code></pre>