Sites in Exchange


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Sites in Exchange

  1. #1
    kmsr Guest

    Sites in Exchange


    I have created a program with VB using CDO1.2, which reads the content of
    Exchange
    organization's Address Book . I'm able to collect
    information of all the containers, address entries of them and expand
    distribution lists but my problem is how to retrieve organization and site
    information of the containers?


    Now my tree view looks something like this:


    GAL
    Distribution Lists
    Premises and Facilities
    Public Folders
    Recipients
    Distribution Lists
    Premises and Facilities
    Public Folders
    Recipients


    However, I want it to look like this:


    GAL
    Organization
    Site1
    Distribution Lists
    Premises and Facilities
    Public Folders
    Recipients
    Site2
    Distribution Lists
    Premises and Facilities
    Public Folders
    Recipients
    Etc.



    Share on Google+

  2. #2
    Volker Guest

    Re: Sites in Exchange


    Hi,

    try LDAP/ADSI instead of CDO.

    CDO is meant for sending e-mails, ldap is meant for accessing directory information.

    Even though CDO can access parts of the directory information, it's not able
    to access the actual directory.

    Furthermore: LDAP is much faster than CDO.

    There are very good examples in the MSDN (msdn.microsoft.com)

    Hope this will help
    Volker



    "kmsr" <kmsr9@hotmail.com> wrote:
    >
    >I have created a program with VB using CDO1.2, which reads the content of
    >Exchange
    >organization's Address Book . I'm able to collect
    >information of all the containers, address entries of them and expand
    >distribution lists but my problem is how to retrieve organization and site
    >information of the containers?
    >
    >
    >Now my tree view looks something like this:
    >
    >
    >GAL
    > Distribution Lists
    > Premises and Facilities
    > Public Folders
    > Recipients
    > Distribution Lists
    > Premises and Facilities
    > Public Folders
    > Recipients
    >
    >
    >However, I want it to look like this:
    >
    >
    >GAL
    >Organization
    > Site1
    > Distribution Lists
    > Premises and Facilities
    > Public Folders
    > Recipients
    > Site2
    > Distribution Lists
    > Premises and Facilities
    > Public Folders
    > Recipients
    >Etc.
    >
    >
    >


    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center