SharePoint Web Service Lists.GetListCollection not returning all lists

Heaven__

New Member
I'm using SharePoint's List web service and I tried GetListCollection but it's not returning all the lists. Here's my code (SBALists is my web reference name):\[code\]Dim Lists As New SBALists.ListsLists.Credentials = System.Net.CredentialCache.DefaultNetworkCredentialsDim Result As XmlElement = Lists.GetListCollectionDim XR As New XmlTextReader(Result.OuterXml, XmlNodeType.Element, Nothing)Dim DS As New DataSetDS.ReadXml(XR)DataGridView1.DataSource = DS.Tables(0)\[/code\]I also tried passing in my username/password for the credentials but doesn't change the results.\[code\]Dim Cred As New Net.NetworkCredential("username", "password")Lists.Credentials = Cred\[/code\]Any idea why some of the lists aren't returning?*Edit
1MqDW.png
 
Back
Top