i want to implement asp.net role provider to assign users over my LAN to roles and have my asp.net intranet app implement security based on roles.
i dont want to use VS to manage this witht he built in tools but rather hand this off to users to manage themselves. i want an admin folder with a few pages for admin roles to be able to create/edit roles and manage users in roles...
i am not able to find sample code... can anyone provide me a link to some sample i can use to admin roles and users?
开发者_高级运维thanks
There are lots of simple examples of role provider implementation sample on web waiting to be "Googled"
well but if you need to create a admin panel - for management of roles (and obviously for membership for user management if using one) you should get your hands dirty on this (suggestion).
Role Management Basics - MSDN
Show how to CHOOSE / CONFIGURE / MANAGE (storedprocedure / Role provider ASP.net API )
Other than that you can use the objectbrowser (View > ObjectBrowser) windows of VISUAL STUDIO to dive into the API which gives useful information of methods / properties in API (Under System > Web > Security > ....) which could be helpful.
Hope it helps
Regards, J'Sinh.
精彩评论