Hi All,
Using CDO and MAPI I discover whole exchange server.
My program runs as a NT service.
If I start service under administrative privileges then everything works
fine.
However, if I start service in local system account and impersonate
administrator user then
1. MAPI call IMsgServiceAdmin::ConfigureMsgService fails with an error
0x80040115 (network error).
2. CDO call ADsGetObject fails with an error 0x80072020 (An operations error
occurred)
I did not find any concrete documentation on CDO and MAPI impersonation.
Can anybody please help for the same ?
Regards,
Dipak.
Jeff Garman [MSFT] - 21 Jul 2006 23:17 GMT
Dipak,
You may want to have a look at Steve Griffin's bog entry on MAPI / CDO and
impersonation. Steve has some great info on this whole topic:
http://blogs.msdn.com/stephen_griffin/archive/2005/04/13/407925.aspx
Hope this helps!
- Jeff
> Hi All,
>
[quoted text clipped - 18 lines]
>
> Dipak.