Implement Role based Authorization and Authentication using MySQL database in ASP.Net

Last Reply 2 months ago By Mudassar

Posted 2 months ago

hi all just a question to ask, how to make it where for example if there are two users in my MySQL database, Peter and John. I want to grant Peter to be a admin so if he logins in he can see the feature like delete, but if John logs in he won’t see the delete button. so my question is how can we do it?

You are viewing reply posted by: Mudassar 2 months ago.
Posted 2 months ago

Follow this article.

Role based Authorization and Authentication in ASP.Net

Same way you can implement Roles in MySQL

I agree, here is the link: