Sharepoint FAQ

 
Home » Interview FAQ » SharepointSubmit FAQRSS Feeds

When retrieving List items using Sharepoint Web Services, how do you specify explicit...

  Shared By: Tarang Nayak         Date: Mar 12, 2011      Category: Sharepoint      Views: 196      

When retrieving List items using Sharepoint Web Services, how do you specify explicit credentials to be passed to access the list items?

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.

Tagged:                          

 


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].