Results 1 to 2 of 2

Thread: Enumerating Mailboxes

  1. #1
    Eric Guest

    Enumerating Mailboxes

    Hi,
    Is there a way to enumerate all of the mailboxes in a given Exchange server
    using WebDAV? Thanks in advance.

    Eric

  2. #2
    Henning Krause [MVP] Guest
    Hello,

    that information is not stored in the Exchange Server but in Active
    Directory.

    To get a list of all users on a particular server, try the following:

    1. Get the distinguished name of your mailbox store. That is something like
    CN=Erste
    Speichergruppe,CN=InformationStore,CN=<Server>,CN= Servers,CN=Erste
    administrative Gruppe,CN=Administrative
    Groups,CN=<Organization>,CN=Microsoft
    Exchange,CN=Services,CN=Configuration,DC=domain,DC =local

    You can get this information via the ADSI Edit or you do a search on the
    ActiveDirectory and search for objectClass=msExchExchangeServer. From that
    node, do a search with the filter objectClass=msExchPrivateMDB. This will
    return a list of all private mailbox stores on that server.

    Note that you must search on the configuration partition, not on the domain
    partition.

    2. You can now use the DirectorySearcher to search for Users with the
    property objectClass=user and homeMDB=<distinuishedName of mailbox store>

    Et voilą...

    Greetings,
    Henning Krause [MVP]
    ==========================
    Visit my website: http://www.infinitec.de
    Try my free Exchange Explorer: Mistaya
    (http://www.infinitec.de/software/mistaya.aspx)


    "Eric" <eric@voiceautomation.com> wrote in message
    news:u7VuC0R#EHA.2112@TK2MSFTNGP14.phx.gbl...
    Hi,
    Is there a way to enumerate all of the mailboxes in a given Exchange
    server
    using WebDAV? Thanks in advance.

    Eric

Similar Threads

  1. I have two Mailboxes with the same name!
    By Tongas in forum Connectivity
    Replies: 1
    Last Post: 10-14-2005, 09:58 AM
  2. No Mailboxes
    By bvanderpool in forum Deploy
    Replies: 5
    Last Post: 09-21-2005, 05:05 PM
  3. Mailboxes
    By Rick in forum Administration
    Replies: 1
    Last Post: 08-08-2005, 09:58 AM
  4. Replies: 1
    Last Post: 06-23-2005, 10:00 AM
  5. enumerating storage groups, stores, mailboxproperties (size+
    By Mark Priem in forum Administration
    Replies: 4
    Last Post: 03-18-2005, 06:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - CAD Forum