public void EvalDacl() { DiscretionaryAcl dacl = new DiscretionaryAcl { //new AccessControlEntry<UIRight>() { Allowed = true, Right = UIRight.FullControl }, //new AccessControlEntry<UIRight>() { Allowed = false, Right = UIRight.Enabled } }; SecurityResults srs = new SecurityResults(); dacl.Eval <UIRight>(srs); dacl.Eval(typeof(UIRight), srs); }