--Vamsi Effective Blogs "Make everything as simple as possible but not simpler"--
@if (ViewContext.HttpContext.User.IsInRole("Your role")) { // Do something here }
No comments:
Post a Comment