zoukankan      html  css  js  c++  java
  • CHANGE USER WHEN I CONNECT TO TEAM FOUNDATION SERVER

    Question:

    I USE TEAM EXPLORER TO CONECT TO TEAM FOUNDATION SERVER 2010,

    BUT I DO NOT LOGIN OUT, AND CONNECT WITH OTHER LOGIN,

    when I use team foundation server preview I login out and connect with other user

    Answers:

    When you connect to TFS using Team explorer, it will automatically use your currently logged-on user account from Windows Sign-on services and check if you are able to login to selected TFS Server. If you are not (which is the case for TFSPreview server) then it will present you with necessary login dialog box for you to sign-in.

    If your requirement is to login with another account via Team Explorer then you will have to start Team Explorer (Visual Studio) with that other account. To do that, you will have to follow steps as per below…

    • Open a command prompt and type in …
    • Runas /noprofile /user:[domain][UserID] cmd
    • “Runas” command will ask for password for this user ID.
    • On successful log-in it will open-up another command window where you have logged-in as the specified different user account. 
    • Then go to Visual Studio installation directory which in my case is “C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDE”.
    • Then run devenv.exe file which will open-up a new instance of Visual Studio under that different user account. 
    • Now you can connect to TFS via Team Explorer window from within this new instance which will utilize that different user account.

    So, because your corporate domain is not linked-up with TFS Preview hosting infrastructure, your current login userID and password  is not utilized for authentication and instead it asks users to punch in new one.

    Overall, I hope this answers your question and if it does then please mark this reply as answer.

  • 相关阅读:
    解决编程开发时候文件命名的苦恼(规范代码 提高可读性)
    react的this.setState没有触发render
    动态修改JS对象的值及React setState
    Antd Select组件结合使用出现must set key for <rc-animate> children问题
    antd Select进阶功能 动态更新、函数防抖
    前端性能优化之重排和重绘
    ES5 map循环一大坑:循环遍历竟然出现逗号!
    Monent.js:强大的日期处理类库
    Docker概览
    Spring boot 集成hessian
  • 原文地址:https://www.cnblogs.com/zjoch/p/4177820.html
Copyright © 2011-2022 走看看