Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

isuserinrole probelm with more than 2 roles

Status
Not open for further replies.

johk02

Programmer
Aug 20, 2003
169
AU
Hi,
I have at the moment 3 different roles (User Levels) that a member can be assigned - Level (highest), Level2 & Level3.

On my download section I have my downloads divided up into different categories and each category can have different Access Levels - Level, Level2 & Level3.

I want a member with access level 2 to be able to access categories that have Access Level 3 & 2,
member with Access Level 3 only to access categories that have Access Level3 etc.

The problem is how do I see that a members access level is greater than or equal to access level set on category??

Thanks
Jonas



 
you should have the users access level in a session variable somewhere.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top