问题描述
更新我设法通过授予用户使用凭据集2远程连接到桌面的权限,从而能够从凭据管理器中删除存储的凭据来解决此问题.
UpdateI managed to solve it by getting my user granted permissions to remotely connect to the desktop using credential set 2 and thus being able to remove the stored credentials from Credential Manager.
我使用一组凭据登录到服务器,然后使用以其他用户身份运行"( + )打开Visual Studio 2012,第二组凭证部署到我的开发人员.环境SharePoint网站.
I log onto my server with one set of credentials and open Visual Studio 2012 using "Run as different user" ( + ) as I need a second set of credentials to deploy to my dev. env. SharePoint site.
我之前已经完成上述操作,然后使用第三组凭据连接到TFS,因为我的用户(第二组凭据)尚无访问权限.现在,我的用户可以访问了,我希望改为使用这些凭据.
每次我使用以其他用户身份运行"打开VS时,TFS都会自动使用第三组凭据登录我-但是,如果我正常使用VS而不使用以其他用户身份运行"来打开VS,则会提示我登录到TFS.
I have previously done above and then connected to TFS using a third set of credentials, as the my user (second set credentials) didn't have access yet. Now my user have access and I wish to use these credentials instead.
TFS automatically logs me in with the third set credentials every time I open VS using "Run as different user" - However, if I open VS normally without using "Run as different user" I get prompted for login to the TFS.
我尝试检查Windows凭据,但没有任何内容.而且我无法使用第二组凭据登录到服务器,因为只有第一组凭据才能使用远程桌面访问服务器.
I have tried checking the Windows credentials and there is nothing there. And I can't log onto the server using the second set credentials as only the first set can access the server with Remote Desktop.
那么当使用以其他用户身份运行"时,如何清除"缓存的TFS凭据?
So how do I "clear" cached TFS credentials when using "Run as different user"?
推荐答案
转到控制面板>用户帐户>管理凭据>选择您的Team Foundation Server并选择删除/编辑-中提琴!下次您进入团队资源管理器时,系统将提示您输入一组新的凭据.
Go to control panel > User Accounts > Manage Your Credentials > select your Team foundation Server and choose remove/edit - viola! Next time you go into Team Explorer you will be prompted for a new set of credentials.
这篇关于“以其他用户身份运行" Visual Studio,无法清除缓存的TFS凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!