I need to access a sharepoint application from my desktop application (written in C#). How should I pass credentials and verify authentication?
not really ; 15 characters
Faisal
2010-10-28 07:32:04
aha ; 15 characters
Younes
2010-10-28 07:52:03
+4
A:
1.Add WebService reference(Name : SourceLists) to the project (Web service URL https://……./sites/_vti_bin/lists.asmx) 2. SourceLists.Lists sourceListService = new SourceLists.Lists();
System.Net.NetworkCredential networkCredentials = new System.Net.NetworkCredential(“userid”, “pwd”);
sourceListService.Credentials = networkCredentials;
Ashutosh Singh
2010-10-28 11:29:01