internal bool IsInRole(string role) { return roles.Contains(role); }
public bool IsInRole(string role) { return(currentIdentity.IsInRole(role)); }