title: Extending ASP.NET Identity
body: <p>It seems this has been asked many times, in many ways, none of which seem to fit my exact situation. </p>
  
  <p>Here's a line from my _LoginPartial.cshtml file:</p>
  
  <pre><code>@Html.ActionLink("Hello " + User.Identity.GetUserName() + "!", "Manage", "Account", routeValues: null, htmlAttributes: new { title = "Manage" })
  </code></pre>
  
  <p>See the part that says User.Identity.GetUserName()? </p>
  
  <p>I want to change it to User.Identity.FirstName or User.Identity.GetFirstName().</p>
  
  <p>I don't want it to say "Hello email address", but rather "Hello Bob"</p>
  
  <p>My thought is that I'm simply wanting to show a new property (or method) on the Identity class. Obviously it must be more than that.</p>
  
  <p>I've added the FirstName property and <strong>it is available</strong> in the AccountController. </p>
  
  <pre><code>public class ApplicationUser : IdentityUser
      {
          public string FirstName { get; set; }
          public string LastName { get; set; }
  </code></pre>
  
  <p>It does not get exposed in the _LoginPartial file. I want it exposed there!</p>
  
  <p>Thank you for your help</p>