25

When I setup TFS for the first time, I usually use the TFSSetup account, and with this account going to login for the first time.

  1. How to login as a different user?

  2. How to check who the current user is?

Zoe
  • 27,060
  • 21
  • 118
  • 148
user441222
  • 2,001
  • 7
  • 27
  • 41

3 Answers3

45

Checkout a file in Source Control Explorer and user column it will show your username with which you are connected to TFS.

If you want to connect TFS using other credentials, then add the address of your TFS server and the credentials in Credentials Manager(Control Panel->User Accounts->Credential Manager). The next time you try to access TFS, these credentials will be used.

Jehan33
  • 3,780
  • 2
  • 21
  • 16
  • Additional info: In the Credential Manager the credentials can be both under Windows Credentials and Generic Credentials. – Halvard Oct 16 '12 at 11:57
  • 2
    Additional info: As a default, Visual Studio (VS) uses your logged in Windows account. Creating an entry in Credentials Manager (CM) overrides that. To revert back to default account, delete the entry from CM and restart VS. – Tushar Sood Jan 30 '13 at 10:26
9

Clear the user's credentials in the Credential Manager. This will then bring back the Authentication Window when trying to connect to TFS.

Gerrit Coetzee
  • 131
  • 1
  • 1
2

Another approach you can take that worked for me, was to log into the web interface for TFS, then use that to log in as another user. So, navigate to:

http://yourtfshost:8080/collection/web/ (or whatever your web address is)..

Then, click on your name in the corner and select "sign in as a different user."

Essentially, this does the same thing as the above suggestions. It simply replaces your credentials in credential manager with the correct ones.

jimdrewes
  • 21
  • 2