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

<pre><code>Page.CurrentUser
</code></pre>

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

I use:
```
```
Membership.GetUser().UserName
```
```
I am not sure this will work in ASP.NET MVC, but it's worth a shot :)