The new version of the EWS Managed API has just been released http://www.microsoft.com/download/en/details.aspx?id=28952 which means you can start using the new Exchange 2010 SP2 features that have been added to the Managed API. A Quck few examples are
First make sure you set the Version to SP2 eg
Using Password Expiration
Accessing the Directory Photo
See a full list of the new features at http://msdn.microsoft.com/en-us/library/ee693006%28v=exchg.80%29.aspx
First make sure you set the Version to SP2 eg
- ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
- DateTime PasswordExpirDate = (DateTime)service.GetPasswordExpirationDate("user@domain.com");
- NameResolutionCollection ncCol = service.ResolveName("user@domain.com",ResolveNameSearchLocation.DirectoryOnly,true);
- foreach (NameResolution nc in ncCol) {
- Byte[] dirPhoto = nc.Contact.DirectoryPhoto;
- }
See a full list of the new features at http://msdn.microsoft.com/en-us/library/ee693006%28v=exchg.80%29.aspx