title: ASP.NET MVC 4 How do you serve different HTML based on Role?
body: <p>On top of allowing only certain Roles to access certain Controller or Action, I would like to serve a slightly different HTML based on the roles.</p>
  
  <p>Admin can see Edit button for example, meanwhile for other user this edit button will not be there. It can be more complicated than this, for example certain role can edit but can't delete.. etc..</p>
  
  <p>Is there a framework in MVC 4 to do this?</p>
  
  <p>The question here seems interesting, <a href="https://stackoverflow.com/questions/18874081/asp-net-mvc-alternatively-rendering-editorfor-based-on-user-role">ASP.NET MVC Alternatively Rendering EditorFor Based on User Role</a></p>
  
  <p>But I am not sure whether this is the proper way to do it.</p>