Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

How to pass TFS credentials from VS plugin (client-side) to custom ASMX web service (server-side)

$
0
0

I have created a Visual Studio 2010 plug-in that interfaces both directly with TFS 2010 through the TFS API as well as some custom ASP.NET asmx web services I have created (which, themselves also interface with TFS via the TFS API). When the VS plug-in executes, I am able to automatically bind to/authenticate with TFS using the same credentials the user has already entered with VS/Team Explorer such that I do not have to prompt them for the login information again. I need to, however, also pass this credential information from the plug-in (i.e. the "client"-side) to my custom asmx web services (the "server"-side).  I've tried any number of approaches with no luck.   Can anyone confirm if this is possible (w/o, obviously, having to prompt the user to enter their login information again) and, if so, what am I overlooking that will allow this behavior to occur?  Code examples would be much appreciated.  Thanks in advance for any input!


Viewing all articles
Browse latest Browse all 6687

Trending Articles