How can I create a view that has different displays according to the role the user is in?

Posted by user43838 on Stack Overflow See other posts from Stack Overflow or by user43838
Published on 2009-01-03T15:31:26Z Indexed on 2010/03/23 15:23 UTC
Read the original article Hit count: 323

Filed under:
|
|

I want to create a view that has different displays according to the role the user is in.

Should I create a different view for different roles or should I check the roles on the Veiw page itself rather than in the actions?

How would I check the role on the view page?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about roles