Home > DeveloperSection > Interviews > When retrieving List items using SharePoint Web Services, how do you specify explicit credentials to be passed to access the list items?

Posted on    August-29-2011 12:43 AM

 SharePoint SharePoint 
Ratings:
 1 Answer(s)
  1393  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Points:2550
Posted on    August-29-2011 12:00 AM

In order to specify explicit credentials with a Web Service, you generally instantiate the web service, and then using the credentials properties of the Web Service object you use the System.Net.NetworkCredential class to specify the username, password, and domain that you wish to pass when making the web service call and operations.

Don't want to miss updates? Please click the below button!

Follow MindStick