public bool HasRoleClaim(string value) { if (!IsAuthenticated) { return false; } return Principal.HasClaim(ClaimTypes.Role, value) ? true : false; }