![]() |
How do I get a propertyvalue from a mapitable
I have a profile MapiTable from a call to LPPROFADMIN-GetProfileTable. Calls to pHrQueryAllRows works. I want to get the profile names from the table. How do I do this? I'm thinking it has something to do with HrGetOneProp and PR_PROFILE_NAME but I cannot work out how to use properties. Thanks |
How do I get a propertyvalue from a mapitable
No, you need to call IMAPITable::SetColumns first to set the appropriate
column(s), e.g. PR_DISPLAY_NAME, then call IMAPITable::QueryRows. Or you can combine the two calls using HrQueryAllRows() Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool wrote in message ups.com... I have a profile MapiTable from a call to LPPROFADMIN-GetProfileTable. Calls to pHrQueryAllRows works. I want to get the profile names from the table. How do I do this? I'm thinking it has something to do with HrGetOneProp and PR_PROFILE_NAME but I cannot work out how to use properties. Thanks |
All times are GMT +1. The time now is 08:54 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com