Hello,
I have a Sharepoint site where all the lists and libraries are going to be filtered depending on the user that's logged in (using a UserID identifier for each user and each list item having that same UserID as foreign key). I need to implement search capabilities on the site, however I also need the search results to be filtered by that same UserID. And this should be transparent for the user, he shouldn't be aware of the filter; in other words the user shouldn't be able to turn on or off the filter (as for example a Scope) and shouldn't be able to override it (as for example a param in a QueryString).
I'm trying to link a CurrentUserFilter to the search results, in other words.
Any ideas on how to acomplish this
Thanks,
Michel

Filter search results in MOSS 2007 depending on the signed in user.
mjobbe
Michel,
Probably the easiest way to do this is to create a new Managed Metadata field that maps the the UserID field in the crawled content.
Then customize the search, you may need to roll your own here, to always add the requirement for UserID = CurrentUser to the where clause.
HTH
Andrew
MarkBosley
Dmitry Radich
Did you solve this problem
Can you post the sollution
thnks!
gr.
Marc