Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a people search page for our staffdirectory. I want to filter out some user profiles that are for generic accounts. I have the following in the 'Append Text To Query' box in the webpart.

contentclass:spspeople; -preferredname:"TCM\Window*" -preferredname:"TCM\CoatCk" -preferredname:"TCM\coreuser"

The problem is the system seems to ignore everything after the second restriction on preferredname. If I move things around whatever is listed in the first two restrictions always works, but anything after is ignored. Is there a limit of two restrictions on one of these properties?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.