I want current loged in UserId How do I get the current user inside a controller class in ASP.NET MVC ?
if you are using web security then you can get current user id by this code
WebSecurity.CurrentUserId