Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a site that has several subsites . Let's say company's main intranet site with finance, information technology , HR etc as subsites.I need to limit users to have search only within the specific site . Lets say when a person searches from the finance department the results should come only from that department. But i want them to hav access to all departments, but the search result should be of their own department
Posted

1 solution

So what is the problem?

Search result is database based. Restrict the result department wise while fetching data. In query allow for only the specific department. That would be an extra WHERE clause.

Whereas, in UI, you can have role based access to different departments.
Since both are handled at totally different places, it should not be a problem for you. Provide access at any level.
 
Share this answer
 
v2
Comments
shweta_online 20-Jul-10 1:53am    
its sharepoint i am talking about, not oracle sql.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900