Simple custom roles for windows authentication in asp. net?

前端 未结 2 1767
孤独总比滥情好
孤独总比滥情好 2020-12-24 09:42

At our company network, the roles in Active Directory(AD) are not appropriately assigned for my application. So I created a simple table in my database mapping all the users

2条回答
  •  不知归路
    2020-12-24 10:16

    It is really easy to implement custom role provider. Basically you will need to implement two functions.

    Look at the article: Custom Role Provider for MVC

提交回复
热议问题