microsoft.public.exchange.development
[Top] [All Lists]

Re: How to get props from msExchPublicFolder?

Subject: Re: How to get props from msExchPublicFolder?
From: "Glen Scales [MVP]"
Date: Sat, 21 Oct 2006 09:08:57 +1000
Newsgroups: microsoft.public.exchange.development
You should be able to use WMI remotely as long as you have got appropriate 
rights eg to use the WMI class's on Exchange you need to have been delegated 
at least view only admin in the Exchange organization. Depending on the 
level of detail you need you may find you need to mix the API's you need to 
use eg there are something's you may not be able to get via WMI that you 
need to use ADSI for, possible you may even need to use CDOEXM this is where 
you may have problem using it across domain boundaries (eg with CDOEXM you 
cant specify alternate credentials) but WMI is the easiest way to get 
resource information such as how big mailboxes are etc. I don't code in C++ 
but I don't see this as problem to using WMI.

Cheers
Glen

"mahadev.1984" <mahadev1984@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message 
news:A9CB62E9-48DB-4AE2-AC80-E5196BD1E0DA@xxxxxxxxxxxxxxxx
> Hi Glenn,
>         First Thanks for the timely response!
>        I want my application to run on a remote machine to the Exchange
> Server.Both of which may or may not be in the same domain. At such 
> situation
> , can I use WMI? MoreOver my application is a windows application  in VC++ 
> 8.0
>
> Awaiting Reply,
>
> Thanks & Regards,
> Mahadev
>
> "Glen Scales [MVP]" wrote:
>
>> If you want to find information on Exchange server resources you need to 
>> use
>> Exchange's API's. Have a look at the WMI classes in the Exchange SDK such 
>> as
>> Exchange_mailbox and Exchange_publicfolder which will give you 
>> information
>> about specific mailboxes and public folders. eg
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_wmiref_cl_Exchange_Mailbox.asp
>>
>> Cheers
>> Glen
>> '
>> "mahadev.1984" <mahadev1984@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:0F79540A-FD2F-4D9D-88FD-104A616987EA@xxxxxxxxxxxxxxxx
>> > Hi!
>> >    I am new to Exchange Server 2003. I am developing some tool that 
>> > will
>> > collect relevant entries from the Instance,Mailboxes and Public Folders 
>> > of
>> > the Exchange Server.
>> >         I need to get some basic properties of some literal objects in 
>> > an
>> > exchang server as my project demands. Meanwhile, I heard about ADSI and
>> > tried
>> > to use it. I am able to get some of the properties using the provided
>> > interfaces like  msExchExchangeServer, msExchEchangePublicMDB,
>> > msExchPrivateMDB....
>> >         But I am not able to get the props from msExchPublicFolder.Even 
>> > I
>> > didnt found any help in any blogs. Can Anybody help me please!
>> >
>> > Please reply soon!
>> >
>> > Regards,
>> > Mahadev
>> >
>>
>>
>> 



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy