Question

I'm using a Search Paging web part with the People Search Core Results web part in order to display users in specific departments on my site (thx Mike Oryszak for pointing me in the right direction). I'm using a Fixed Keyword Query in order to get the specific departments (like Department:"IT"). Is there any way to filter out certain users depending on their properties, like title or name?

Was it helpful?

Solution

If users are few and you know them in advance, You can exclude them in keyword query itself. For e.g :

Department:IT and name<>[username2] and name<>[username2]

Or You can implement custom security trimmer for more flexibility.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top