如何使用visual stdio中的TFS不作为TFS安全用户运行。 [英] how to use TFS from visual stdio not running as TFS secured user.

查看:74
本文介绍了如何使用visual stdio中的TFS不作为TFS安全用户运行。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以这是我的基本用例,我在一个安全的环境中运行,大多数用户和帐户都被限制安装软件等。


所以,一些除非我使用具有提升权限的帐户启动visual studio,否则视觉工作室内部的工具(以及甚至查看扩展程序的能力)都不会运行。 但是,该帐户与TFS安全组的成员
的帐户不同。 所以..我想以用户(X)启动visual studio,然后以用户(Y)登录TFS。


有没有办法做到这一点?

解决方案

您好chistofishman,


感谢您在此发帖。


您可以按照以下步骤实现:


1。通过此命令从cmd
启动visual studio (X)(导航到C:\Program Files(x86)\ Microsoft Visual Studio 14.0 \\ \\ COMMmon7 \IDE  :


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


    这应该有Visual Studio与另一个Windows用户一起运行,以便它可以使用不同的凭据连接到远程TFS。


2。在Team Explorer中管理连接。添加TFS服务器,将TFS与用户
连接(Y)



最好的问候。


So here is my basic use case, I'm running in a secured environment where most users and accounts are restricted from installing software etc.

So, some of the tools ( and the ability to even look at extensions) from inside visual studio do not run unless I start visual studio with an account that has elevated privileges.  However, that account is not the same as the account that is a member of the TFS security group.  So.. I want to start visual studio as user ( X ) and then log into TFS as user ( Y ).

Is there a way to do this?

解决方案

Hi chistofishman,

Thank you for posting here.

You can achieve it by following below steps:

1. Start visual studio with the user (X) by this command from cmd  (Navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE) :

    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.

2. Manage connections in Team Explorer. Add TFS server, connect TFS with user (Y)

Best Regards.


这篇关于如何使用visual stdio中的TFS不作为TFS安全用户运行。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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