Resolving membership of a dynamic distribution list RRS feed

  • Question

  • Is it possible using MAPI to get the list of entries that match the defined filter for a dynamic distribution list? Essentially, I want to be able to programmatically retrieve the same list of users that is displayed in the Exchange Management Console: select a dynamic distribution list, go to properties -> conditions -> preview.

    I haven't found any MAPI interface that would allow me to do this. In Active Directory, I can see a couple properties on the dynamic distribution list that store the currently defined filter, one in LDAP format, the other in some internal search format: msExchDynamicDLFilter and msExchQueryFilter. But I can't access those properties through MAPI, and more importantly, I can't seem to get the results of the filter on the dynamic distlist.

    Is there anyway to do this?

    Tuesday, February 7, 2017 7:08 PM

All replies