I have a web application with more than 50 site collections and multiple sub sites within each such site collection. However, certain users does have access to sub sites but have access to list within ...
I am using SPSiteDataQuery to get all matched items from all lists in site collection. Results set is really large, so I want to limit the results to 1000 or 10K, process these items and then iterate ...
I am listing files from multiple folders using the below code: SPSiteDataQuery q = new SPSiteDataQuery(); q.Lists = "<Lists BaseType='1'/>"; q.Query = ...