@using System.Security.Claims
Access Denied: @(User?.Identity?.Name ?? "User") is not authorized to view this page.
@{
var dateOfBirth = User?.FindFirst(c => c.Type == ClaimTypes.DateOfBirth)?.Value;
}
Date of birth: @(dateOfBirth ?? "")
- @Html.ActionLink("Home", "Index", "Home")
- @Html.ActionLink("Sign Out", "Signout", "Account")