internal bool CheckRole (IPrincipal user) { foreach (string r in Roles) { if (user.IsInRole (r)) return true; } return false; }