what i am trying to do is that in site.master i do some code which helps me display the navigation menu only if user is logged in. I achieved this by doing
<% if (Context.User.Identity.IsAuthenticated){ show menu........
i know want to add a little bit more to my authentication as besides checking if user is Authenticated(logged in), i check also with my table in sql server if user isAdmin(which is a field in my users table)...anyone have an idea on how i accomplish this?
i am using linq to sql and as i said i am trying to implement this into site.master.
Thanks rgd's....

New Topic/Question
Reply




MultiQuote




|