How to get the current user login in asp.net mvc
plz help me my project use identity login
Hi fr3eddy
https://stackoverflow.com/questions/39167283/how-to-get-current-windows-user-login-name-in-mvc4-with-net-framework4-0
i use
var user = System.Web.HttpContext.Current.User.Identity.Name;
and it works perfect :D
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.