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