shivaraj
2007-03-14 09:17:20 UTC
Hi,
I have some doubts wrt MAPI "GetMsgStoresTable" call. I already posted
a similer query but this is in general. Please help me in
understanding this concept.
1. If I create a profile on Administrator mailbox account and use this
session for "GetMsgStoresTable", will it give me all mailbox stores
under the "StorageGroup" ? ( what we see in Microsoft Exchange
SystemManager window )
In my case my system manger is showing me 4 mailbox stores i.e
Mailbox Store 1 , Mailbox Store 2, Mailbox Store 3 and Mailbox Store
4. But if I iterate through all rows of "GetMsgStoresTable", I am
getting only 2 rows as
PR_DISPLAY_NAME : Mailbox - Administrator and PR_DISPLAY_NAME : Public
Folders. Why this is so? How can I get the info what is showed in
System manager using MAPI ?
2. I have a parent and child domain setup. My exchange server resides
in child domain. If I run my code ( C++ code to get mailbox
information ) with Administrative privilages of child domain, i am
able to retrieve all info. But if i create a user and make it as
domain admin and try to run my code, its failing during
"HrOpenExchangePrivateStore" call. Any extra permissions are required
for this?
Please let me know your views.
Regards,
Shivaraj
I have some doubts wrt MAPI "GetMsgStoresTable" call. I already posted
a similer query but this is in general. Please help me in
understanding this concept.
1. If I create a profile on Administrator mailbox account and use this
session for "GetMsgStoresTable", will it give me all mailbox stores
under the "StorageGroup" ? ( what we see in Microsoft Exchange
SystemManager window )
In my case my system manger is showing me 4 mailbox stores i.e
Mailbox Store 1 , Mailbox Store 2, Mailbox Store 3 and Mailbox Store
4. But if I iterate through all rows of "GetMsgStoresTable", I am
getting only 2 rows as
PR_DISPLAY_NAME : Mailbox - Administrator and PR_DISPLAY_NAME : Public
Folders. Why this is so? How can I get the info what is showed in
System manager using MAPI ?
2. I have a parent and child domain setup. My exchange server resides
in child domain. If I run my code ( C++ code to get mailbox
information ) with Administrative privilages of child domain, i am
able to retrieve all info. But if i create a user and make it as
domain admin and try to run my code, its failing during
"HrOpenExchangePrivateStore" call. Any extra permissions are required
for this?
Please let me know your views.
Regards,
Shivaraj