Depending on how you're storing your user ranks, wouoldn't something like
work:

SELECT info
FROM tablename
WHERE info LIKE "%#searchterm#%"
AND user_rank <= #session.user_rank#

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Bailey, Neal [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 3:14 PM
To: CF-Talk
Subject: Search Issues...


Hey Guys...

It's been a long time since I have posted here...

I was wondering if anyone could help steer me in the right direction. I am
currently redesigning our internal Intranet which is basically ASP and .Net.
I am converting it to CF and I need to add a Search function. I no this is
easy to do using Verity or some other search engine but what I am having
problem with is that our Intranet has different levels of security based on
what we call a "user rank". So if you are rank 10 then you only see rank 10
pages if you are a rank 80 then you can see just about everything. I am
trying to figure out a way to search our site but I want the search results
to be restricted to the users rank. So if they are a rank 10 then they only
see pages and info based on their rank.

Any ideas..

Hope all this made sense...

Neal Bailey
Internet Marketing Manager
UGA-Association Field Services





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219290
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to