In a forms model, I used to get the current logged-in user by:

Page.CurrentUser

How do I get the current user inside a controller class in ASP.NET MVC?

21 Answers
21

Leave a Reply

Your email address will not be published. Required fields are marked *