本文介绍了获取用户名客户端C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.net Web应用程序(在VS中编写),它在服务器上托管。此Web应用程序是我的Outlook加载项。我想获取登录到Outlook应用程序的用户名。当我尝试使用模拟时,插件无法加载。默认情况下,用户名不需要授权登录。

任何人都可以帮忙吗?



我尝试过:



我尝试了很多方法但没有成功(禁用匿名身份验证并启用Windows身份验证,User.Identity.Name等。)

I have an ASP.net web application (wrote in VS) which is being hosted on a server. This web application is my Outlook add-in. I want to get the username logged in to the Outlook application. The plugin does not load when I try to use impersonation. By default, the username should not require an authorization login.
Can anyone assist with this?

What I have tried:

I have tried many methods but without success (disable anonymous authentication and enable windows authentication, User.Identity.Name etc.)

推荐答案


这篇关于获取用户名客户端C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 07:32
查看更多