NET 2.0 has the wonderfull user and role provider system, called Membership, which make login, access and role control quite simple. I used this feature in some occasions to full satisfaction. Drawback of the providers is that you either need to incorporate special user/role tables into your database, or write your own provider classes if you want to use your own user/role tables.
One feature I’m particulary fond of is the way the menu component adapts itselfs to the access rules you define for your users. In this post I’m going to explain how to set up a menu system which is controlled by roles without having to use the user/role providers.
This blog is a personal outlet to share some things I encounter during my coding adventures and would like to share with the world, so that others (hopefully) can profit by it.
This blog does not express in any way the views and opinions of the companies I work for!
zondag 1 november 2009
Abonneren op:
Posts (Atom)