I have a farm with a two way trust with between DomainA and DomainB. I have Search service and User profile configured.

In the people search results I have users from both the domains i.e. domainA\user1 DomainB\user1

How do I filter the results.

I checked result sources but did not find a way to filter the first domain.

Is there any way to filter the DomainA\user1 from the results

1 Answer 1


1) Navigate to search result page then switch page into edit mode

2) Click on edit properties of people search result webpart

3) Click on change Query then make changes same as below and replace with your domain (DomainA) where I marked.

enter image description here

  • I tried this approach but then it only shows the results with the account name like 'domain . The local search is blank. Commented Feb 27, 2015 at 13:13
  • which scope you were updated? Commented Mar 2, 2015 at 5:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.