HI.
EWS, I want to change the AD picture. But I have a problem.
I use the source.
NameResolutionCollection coll =service.ResolveName(MyName, ResolveNameSearchLocation.DirectoryOnly, true, new PropertySet(BasePropertySet.FirstClassProperties));
foreach (NameResolution nameRes in coll)
{
nameRes.Contact.SetContactPicture(photo);
nameRes.Contact.Update(ConflictResolutionMode.AutoResolve);
}
where to get the one item id?
Is there another way?
help me :(