I\'m new to MVC. I want to be able to hide some actionlinks for some users. Say I have a \"create\" actionlink which I only want administrators to see and click. I want to u
If you want a code block, that would do in the view :
@if (Roles.IsUserInRole("Administrators")) { @Html.ActionLink("Create New", "Create") }