从 TFS 注销并使用新凭据登录 [英] Signing out from TFS and sign in with new credentials

查看:41
本文介绍了从 TFS 注销并使用新凭据登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 VS 2015 和 TFS 2015.我错误地使用不同的凭据登录了 TFS,这是一些未使用的凭据.但在那之后,TFS 连接管理器没有要求新的凭据,而是使用我首先输入的详细信息.

根据一些搜索,我发现我们可以从凭据管理器中删除它,但不幸的是它没有显示任何与 TFS 相关的内容.

同样基于另一个解决方案,我在 VS 中打开了集成的 Web 浏览器窗口并打开了 TFS 页面.那里有我的第一个详细信息的登录默认值.因此,每当我单击名称时,浏览器都会冻结,VS 会崩溃并重新启动.

所以我真的被卡住了,不知道该怎么办.那么我该怎么做才能从 TFS 中签出第一个凭据

解决方案

奇怪的是只有local windows账户可以在凭据管理器下显示TFS凭据.因此,如果您使用的是本地用户,则可以从凭据管理器中删除凭据:转到控制面板 > 用户帐户 > 管理您的凭据 > 选择您的 Team Foundation Server 并选择删除.

如果您使用的是用户,它在凭据管理器下不显示任何与 TFS 相关的凭据,在这种情况下,请尝试使用运行 Visual Studio改为使用此命令:

runas/netonly/user:

Im working VS 2015 and TFS 2015. By mistake I logged into TFS with a different credentials which is some what unused one. But after that TFS connection manager not asking for new credentials and its using the details I entered first.

So based on some search I found we can remove that from Credential manager but unfortunately its not showing anything related to TFS.

Also based on another solution I opened integrated web broswer window in VS and opened the TFS page. There its login default with my first details. So when ever I click on the name, the broswer freezes and VS crashes and restarts.

So I really got stucked and having no idea what to do. So what can I do to signoff the first credentials from TFS

解决方案

It's strange that only local windows account can show the TFS credential under the Credential manager. So if you are using local user, you can remove the credentials from Credential manager: Go to Control Panel > User Accounts > Manage Your Credentials > select your Team foundation Server and choose remove.

If you are using domain user it shows nothing TFS related credentials under Credential manager, in this case please try to run Visual Studio using this command instead:

runas /netonly /user:<account> devenv.exe

This should have the Visual Studio to run with another Windows user so it can connect to remote TFS with different credentials.

这篇关于从 TFS 注销并使用新凭据登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆