How to populate rooms in outlook appointments dynamically via Outlook plugins?

363 views Asked by At

I'm developing an Outlook plugin (VS2013/CSharp/Outlook 2010 AddIn Project) and I need to set programatically the room list that appears when you try to create an appointment.

As far as I know, those rooms are loaded from the active directory, but I need to show them "per-user".

1

There are 1 answers

6
Dmitry Streblechenko On BEST ANSWER

Application.Session.AddressLists.Item("All Rooms") should do the job.

EDIT: Outlook hardcodes that list - to the best of my knowledge, Outlook looks for the address list exposed by GAL (PR_AB_PROVIDER_ID = MUIDEMSAB) with the 0x200 bit set in the PR_CONTAINER_FLAGS property. You cannot create new GAL containers programmatically, at least not from the client side.