A. I’d like to know the best way to retrieve the web applications, site collections, sites and libraries of a SharePoint 2007 install (on a farm) and display each of those data in a dropdown list of their own a web part.
B. What type of web part should be used
C. What object model or database/tables do I get those pieces of information from
For example:
"Web Applications" Dropdownlist1
"Site Collections" Dropdownlist2
"Sites" Dropdownlist3
"Libraries" in a scrollable Textarea
the above code sample provides code to find listing of all webs in a spfarm you can use the above sample to find all webapplication, sitecollection, webs, use SPListto get all list item from splistcollection available in SPweb.lists