Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / October 2005

Tip: Looking for answers? Try searching our database.

Getting global contacts from MAPI

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jeff - 18 Oct 2005 17:48 GMT
hi,all

I want to get the global contacts from a Exchange server using
MAPI,

After I use
LPSPropValue lpspv =
PpropFindProp(pRows->aRow[i].lpProps,pRows->aRow[i].cValues,PR_EMS_AB_ASSOC_NT_ACCOUNT);

I just wonder which parameter in lpspv is for PSID

LookupAccountSid to get loginUsername and domainName

Thanks
since I will call the next function:
Dan Mitchell - 18 Oct 2005 18:04 GMT
> After I use
> LPSPropValue lpspv =
[quoted text clipped - 4 lines]
>
> LookupAccountSid to get loginUsername and domainName

lpspv->Value.cb is the count of bytes, and lpspv->Value.lpb is the actual
data that you should pass to LookupAccountSID.

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/mapi/html/df3763b9-b950-4bcf-bea8-490a4881ea9a.asp

for the docs; to find out what the type of a SPropValue is if you don't
already know, you can use the PROP_TYPE macro on spv.ulPropTag.

-- dan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.