Answered by:

how to exclude users from people search results

Question

there are some users who left organization their profiles will be updated in their name and email address atarting with "Leavers". now i want to hide people who are contains leavers in their name and email. plz advise

All replies

There are 2 places in the search center template where people search results appear by default:

peopleresults.aspx - People Search Core Results web part

results.aspx - People Matches web part

Both of the web parts mentioned above expose the "Append Text To Query" property (under "Results Query Options" category) you can use it to append additional criteria to the user's search query. Simply set the property value to the following to filter by
email address.