cplsplsprogrammer
Programmer
Hello all,
I am working on exchange server 5.5 and have active directory. I wanted to read all the members names and smtp addresses in a distribution list which might have another distribution lists.... so i have to search recursively.
I tried reading from the LDAP but it is not working, as the Adspath of the members of the sub distribution lists is different. The LDAP query i was using is
<LDAP://<path of DL>/cn=****,cn=****,cn=***,ou=***,o=***>;(|(ObjectClass=*));name,mail,givenName,initials,Company,adspath,rdn;subtree"
Can anyone please tell me in which way should i go or give me any resources where i can read all the members of the DL using C# of VB.Net.
Thanks
I am working on exchange server 5.5 and have active directory. I wanted to read all the members names and smtp addresses in a distribution list which might have another distribution lists.... so i have to search recursively.
I tried reading from the LDAP but it is not working, as the Adspath of the members of the sub distribution lists is different. The LDAP query i was using is
<LDAP://<path of DL>/cn=****,cn=****,cn=***,ou=***,o=***>;(|(ObjectClass=*));name,mail,givenName,initials,Company,adspath,rdn;subtree"
Can anyone please tell me in which way should i go or give me any resources where i can read all the members of the DL using C# of VB.Net.
Thanks