Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Active directory Interfaces > Getting a listi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 2301 of 2407
Post > Topic >>

Getting a listing of all the child domains

by Saqib Ali <docbook.xml@[EMAIL PROTECTED] > Jun 5, 2008 at 11:11 AM

Hi All,

I am trying to retrieve all the child domains for a given domain in a
VB applications. Will something like the following do the trick?

        Dim enTry As DirectoryEntry = New DirectoryEntry("LDAP://" &
parentDomain)
        Dim mySearcher As DirectorySearcher = New
DirectorySearcher(enTry)
        Dim resEnt As SearchResult
        mySearcher.Filter = ("(objectClass=domain)")

Thanks
saqib
http://doctrina.wordpress.com
 




 7 Posts in Topic:
Getting a listing of all the child domains
Saqib Ali <docbook.xml  2008-06-05 11:11:50 
Re: Getting a listing of all the child domains
"Joe Kaplan" &l  2008-06-05 14:20:03 
Re: Getting a listing of all the child domains
Saqib Ali <docbook.xml  2008-06-05 16:27:26 
Re: Getting a listing of all the child domains
"Joe Kaplan" &l  2008-06-06 00:34:15 
Re: Getting a listing of all the child domains
Saqib Ali <docbook.xml  2008-06-06 11:30:13 
Re: Getting a listing of all the child domains
"Joe Kaplan" &l  2008-06-06 14:06:23 
Re: Getting a listing of all the child domains
Saqib Ali <docbook.xml  2008-06-09 08:49:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 22:11:18 CST 2008.