Working in SharePoint 2013, I am trying to configure the Search Results query, to exclude all generic accounts (i.e. System accounts, test users, etc.). Our AD has these users segregated into a separate OU, and I think I can use that exclude these users from the results of a People Search. But, I'm having trouble configuring the query in the Search Results web part, to do this.
When I go to the Search Results web part, I have created a query that uses:
No matter what I do, I can't seem to get the query to exclude users that have
Users.Departmental in their
Distinguished Name field value. Any advice or suggestions on how to resolve this would be appreciated.