How to Supply Credentials to a Web Service

When an web services is secured with Windows Authentication and you need to call it as a specific user or another account on the domain, this article explains how to do it.

https://support.Microsoft.com/default.aspx?scid=kb;...

 

You can either set the proxy class's Credentials = to System.Net.CredentialCache.DefaultCredentials or supply an alternative set of credentials to the proxy class's Credentials policy.