Skip to content
Loading
  • Raju Fodse
    0
    I do exaclly but accoridng to above link, but it redirects gain and again
    0
  • Jignesh Kumar
    0
    Hi,
     
    Please use this link, I think you are missing some of web config changes on your code,
     
    https://www.c-sharpcorner.com/article/role-based-authentication-in-asp-net-mvc/ 
    0
  • Laxmidhar Sahoo
    0
    hi
    The my previous post call with the bellow code
    [AuthorizeEnum(Roles.Administrator)]
    public ActionResult ThePrivilegeZone()
    {
    return View();
    }
    0
  • Raju Fodse
    0
    When I used User base authentication it works, but when I use role base authentication it redirects on login page again and again
    0