Posted on: 7/6/2015 5:03:28 PM | Views : 839

I have a similar situation that @IndigoMontoya has -- I found his question here https://forums.asp.net/t/2056082.aspx?Giving+User+Access+On+Menu+by+Menu+Page+by+Page -- and I see that @Li Wang gave him a great solution to his issue. Mine is similar, while different at the same time, so let me explain. Now my situation is different than the one I hotlinked in here as the fact that I do not have aspx page names stored in the database, my "get permission" sql call only returns results like so: so a further breakdown would be pageID is the actual page number pageID 1 = pageone pageID 2 = page2 etc. userID is of course the userID and permission is 1 for yes, 0 for no. So userID 1 has full access to everything, and userID 2 only has certain access. (Now of course this is a super small subset of what is actually being done, but enough to show the pain I am having coming up with an alternative means to give permission!
id ---- pa ...

Go to the complete details ...