且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用AngularJS从ASP.NET MVC成员资格提供程序获取数据

更新时间:2022-12-04 15:07:43

要从服务器端的任何位置获取当前用户,请使用

To get the current user from anywhere on the server side, use

HttpContext.Current.User.Identity.Name;