c# - How can I have accounts be part of a specific ASP.NET Identity Role straight from the register page? -
this question has answer here:
so following tutorial: https://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/#create-an-aspnet-mvc-5-application
what want make when register new account, can have field type of role entered. in case "canedit" when create account has role. make account manually visual studio using seed database method.
i don't understand want , want add users based in roles ? in case : tutorial can : http://www.dotnetcurry.com/aspnet-mvc/1102/aspnet-mvc-role-based-security
Comments
Post a Comment