(Using VS2013 RTW, ASP.NET MVC5)
I\'ve seen lots of documentation on how to add properties to the ApplicationUser class (and table) when using ASP.NET identity. But
ClaimsIdentity identity = new ClaimsIdentity(OAuthDefaults.AuthenticationType); identity.AddClaim(new Claim(ClaimTypes.Name, userName)); identity.AddClaim(new Claim(ClaimTypes.NameIdentifier, UserID));
ClaimTypes.NameIdentifier is the claim for the function User.Identity.GetUserId()
ClaimTypes.NameIdentifier
User.Identity.GetUserId()