Click to See Complete Forum and Search --> : Dynamic LDAP strings and VB.NET


cmptrnerd9
July 9th, 2007, 09:32 AM
This seemed like the legit place to post this, but if it is not, please move it to the correct forum.

I am working in VB.Net to pull users and groups from AD. The LDAP strings are currently hard-coded, but the client says they are going to start changing the base strings every month or so. I was wondering if there was a way I could dynamically generate

LDAP://CHADC01.abcinc.COM/OU=DISTRIBUTION-LISTS,OU=COMMON,DC=abccorp,DC=abcna,DC=com


given

CHADC01.abcinc.COM

Thanks,
Michael