|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How can I get Query based distribution lists?I have to build a cache of all the distribution lists on a system. Currently
I enumerate through the Global Address Book and find all the items that of are of PR_OBJECT_TYPE = MAPI_DISTLIST. When I do this the Query Based distribution list is marked as a PR_OBJECT_TYPE = MAPI_MAILUSER. How do I find Query based distribution lists in the GAL? Mark Rubacky Can u pls tell me what u mean by Query based Distribution Lists?
As of your current idea of enumerating and checking for the PR_OBJECT_TYPE = MAPI_DISTLIST property, you can do this by setting a filter when you do the HrQueryAllRows or QueryRows. I mean by using SRestriction structure. This will help in reducing the number of results.. Rgds Muthu Show quoteHide quote "Mark Rubacky" wrote: > I have to build a cache of all the distribution lists on a system. Currently > I enumerate through the Global Address Book and find all the items that of > are of PR_OBJECT_TYPE = MAPI_DISTLIST. When I do this the Query Based > distribution list is marked as a PR_OBJECT_TYPE = MAPI_MAILUSER. How do I > find Query based distribution lists in the GAL? > > > Mark Rubacky
Other interesting topics
Delete Message in Save Event Sink
Create recurring appointment with cdo Creating an appointment (WebDav) Logon with diferent user accounts Combined Resource calendar view - where to start Respond to meeting request using WebDAV Re: OnSyncSave "No such interface supported" opening the Message item Re: Using WebDAV to send the customized Appointment Form in Calendar, the Form is lost. Get BCC field through WebDAV Registering For Store Wide Events |
|||||||||||||||||||||||