private bool CheckDominateSid(Sid right) { if (NtSecurity.IsIntegritySid(Left)) { return(Left.Dominates(right)); } else if (NtSecurity.IsProcessTrustSid(Left)) { return(Left.DominatesForTrust(right)); } return(false); }