July 18, 2012

Connect to TFS with different Credentials

Very recently I stumbled upon a problem that launching Vistual Studio 2010 / Team Explorer 2010 to access Team Foundation Server 2010 always took me to the default login which had limited privilege (only few projects were accessible).

runas /netonly /user:domain\username <Program Files>\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"

/netonly : Indicates that the user information specified is for remote access only. It just tells runas that the credentials will be used for accessing remote resources

Thanks to stackoverflow for the solution.. here you go with the reference post.

No comments:

Post a Comment