how to exclude users from people search results RRS feed

  • Question

  • I have a scenario as below

    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

    sharepoint 2010 is the environment


    Veerendra Patil
    • Moved by Pengyu Zhao Friday, October 14, 2011 7:01 AM (From:SharePoint - Social Computing (pre-SharePoint 2010))
    • Edited by Veerendra Patil Friday, October 14, 2011 8:53 AM
    Thursday, October 13, 2011 10:46 AM


All replies

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

    1. peopleresults.aspx - People Search Core Results web part
    2. 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.

    NOT workemail:Leavers
    Refer to the Keyword Query Syntax Reference if you'd like to refine the query further.

    • Proposed as answer by Arno Flapper - Friday, October 14, 2011 3:46 PM
    Friday, October 14, 2011 3:03 PM
  • after refering the below url's i have applied filter query after it has resolved my problem



    Veerendra Patil
    Friday, October 28, 2011 2:17 PM