S
Saqib Ali
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
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