Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript AngularJs Intranet Windows身份验证_Javascript_Angularjs_Iis 7.5_Asp.net Web Api2_Windows Authentication - Fatal编程技术网

Javascript AngularJs Intranet Windows身份验证

Javascript AngularJs Intranet Windows身份验证,javascript,angularjs,iis-7.5,asp.net-web-api2,windows-authentication,Javascript,Angularjs,Iis 7.5,Asp.net Web Api2,Windows Authentication,我正在为intranet应用程序开发angular应用程序。我将angular和WebApi作为单独的应用程序托管在IIS中。我需要根据Active Directory组验证当前windows登录用户。因此,当用户加载angular页面时,它应该自动发送登录的用户ID。我尝试使用$windows服务,但它没有用户信息 我可以在这里使用的任何方法。您找到了如何让windows登录用户的解决方案吗?我也在这条船上,你能分享你的解决方案吗?还没有,我正忙着我的其他事情。我还在分析……仅供参考:

我正在为intranet应用程序开发angular应用程序。我将angular和WebApi作为单独的应用程序托管在IIS中。我需要根据Active Directory组验证当前windows登录用户。因此,当用户加载angular页面时,它应该自动发送登录的用户ID。我尝试使用$windows服务,但它没有用户信息


我可以在这里使用的任何方法。

您找到了如何让windows登录用户的解决方案吗?我也在这条船上,你能分享你的解决方案吗?还没有,我正忙着我的其他事情。我还在分析……仅供参考: