Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ListServiceWrapper listService = new ListServiceWrapper();
- /*Pass credentials to service call object*/
- listService.Credentials = new NetworkCredential(spUserName, spPassword, spDomain);
- /*Set the Url property of the service for the path to a subsite.*/
- listService.Url = ConfigurationManager.AppSettings.Get("rootSite") + "/_vti_bin/lists.asmx";
Add Comment
Please, Sign In to add comment