Is it possible to use System.DirectoryServices.AccountManagement.PrincipalSearcher to search based on multiple parameters using \"or\" (not \"and\").
System.DirectoryServices.AccountManagement.PrincipalSearcher
i.
PrincipalContext pContext = new PrincipalContext(ContextType.Machine, Environment.MachineName); GroupPrincipal gp = GroupPrincipal.FindByIdentity(pContext, "Administrators"); bool isMember = UserPrincipal.Current.IsMemberOf(gp);