|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exchange 2007, obtaining mailbox list without cmdlets?Hi,
I'm using .NET and would like to be able to retrieve a list of mailboxes (actually just a list of email addresses) from an Exchange 2007 server. This is possible using the Get-Mailbox cmdlet, but this produces a dependency on the Exchange Management binaries. I would like to be able to obtain a list of mailbox addresses from an Exchange server without using cmdlets and thus avoiding this dependency. From what I can see this functionality is not available using the Exchange web services. Is it available by any other means? Thanks in advance, Andy You can just query Active Directory directly via LDAP eg using
System.DirectoryService see something like www.infinitec.de/post/2005/02/How-to-get-the-Global-Address-List-programatically.aspx .. Cheers Glen Show quoteHide quote "snae" <snae.***@gmail.com> wrote in message news:578b3c04-971c-41d9-96c3-8f973dd84e73@r34g2000vba.googlegroups.com... > Hi, > > I'm using .NET and would like to be able to retrieve a list of > mailboxes (actually just a list of email addresses) from an Exchange > 2007 server. This is possible using the Get-Mailbox cmdlet, but this > produces a dependency on the Exchange Management binaries. I would > like to be able to obtain a list of mailbox addresses from an Exchange > server without using cmdlets and thus avoiding this dependency. From > what I can see this functionality is not available using the Exchange > web services. Is it available by any other means? > > Thanks in advance, > > Andy On May 12, 12:29 am, "Glen Scales [MVP]" <gsca***@outlookexchange.com> Thanks very much. The only thing is, I would like my configuration towrote: > You can just query Active Directory directly via LDAP eg using > System.DirectoryService see something likewww.infinitec.de/post/2005/02/How-to-get-the-Global-Address-List-prog... > . > be as simple as possible and if possible for it to point only at the Exchange server, wheras with this approach there could potentially be two bits of configuration required (for AD and for Exchange). Its not such a huge problem, so if this is the only way to get a list of mailboxes (without cmdlets), then I'll go down this route. I know the mailbox list is not stored within Exchange, but it does seem odd to me that there isnt a means to do this directly via an API with Exchange. Its the same with other mail systems I have worked with too where its the directory that must be queried. Andy Show quoteHide quote > Cheers > Glen > > "snae" <snae.***@gmail.com> wrote in message > > news:578b3c04-971c-41d9-96c3-8f973dd84e73@r34g2000vba.googlegroups.com... > > > > > Hi, > > > I'm using .NET and would like to be able to retrieve a list of > > mailboxes (actually just a list of email addresses) from an Exchange > > 2007 server. This is possible using the Get-Mailbox cmdlet, but this > > produces a dependency on the Exchange Management binaries. I would > > like to be able to obtain a list of mailbox addresses from an Exchange > > server without using cmdlets and thus avoiding this dependency. From > > what I can see this functionality is not available using the Exchange > > web services. Is it available by any other means? > > > Thanks in advance, > > > Andy- Hide quoted text - > > - Show quoted text -
Create Mailbox
Exchange Web Services Migration MapiExceptionLowLevelInitializationFailure in C# with powershell webdav repeating appointments SMTP Transport event not working for C++ mailbox size (EWS) how to send an email without email address WEBDAV connect with Exchange2007 Prevent double booking of resources on Exchange 2007 (direct booking) Transport Agents. |
|||||||||||||||||||||||