Web Services - Change the user

This short code example shows how to change the user that is used in a Web Services call. The exmple here is for the native endpoint, but the other calls are similar.

 

Related Articles

... and you 'll find more on the Web Services Menu

wsDynamicsGP = new DynamicsGP();
System.Net.NetworkCredential nc = new System.Net.NetworkCredential(txtUser.Text , txtPassword.Text, txtDomain.Text);

wsDynamicsGP.Credentials= nc;


This article

http://gp.rosebizincblogs.com/2010/10/gp2010-web-services-java-and-client-authentication.html

appears to address the way to do it from Java. I've read through it and it seems complete... but I'm not a Java developer


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences