I have a question for all the ASP.NET veterans, I'm currently working on a project involving displaying different pages to users with different roles.
For example, Admin Can add new users to the website
Role-x users can edit the database A
Role-y users can edit database A & B
Role-Z users can access views of database B
so my question is how can I implement this (serving different pages to different users based on their credentials(Roles)).
I just need a little guide to what I have to implement. Thanks in advance.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…