HttpContext.Current.User.Identity.Name is Empty

前端 未结 10 1475
礼貌的吻别
礼貌的吻别 2020-11-29 04:13

I have a Silverlight application (using MVC) and when i\'m building in visual studio, using Visual Studio Development center, there\'s no problem, the HttpContext.Curr

10条回答
  •  Happy的楠姐
    2020-11-29 05:10

    The browser will only detect your username if the IIS server is on the same domain and the security settings within your group policy allow it.

    Otherwise you will have to provide it with credentials, but if it is not on the same domain, it will not be able to authenticate you.

提交回复
热议问题