I want current loged in UserId
How do I get the current user inside a controller class in ASP.NET MVC?
Home / DeveloperSection / Forums / Get Current user id in mvc
I want current loged in UserId
How do I get the current user inside a controller class in ASP.NET MVC?
lukenlow lukenlow
27-Apr-2018Anonymous User
20-Apr-2018if you are using web security then you can get current user id by this code
WebSecurity.CurrentUserId