Question: Is it possible to get TimeZone and working hours of the users through EWS?

I am able to extract TZ and Working Hours for current user(Account with which the ExchangeService is initialized)

```
UserConfiguration usrConfig = UserConfiguration.Bind(service, "WorkHours", WellKnownFolderName.Calendar, UserConfigurationProperties.All);

XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(new MemoryStream(usrConfig.XmlData));
XmlNodeList nlList = xmlDoc.GetElementsByTagName("WorkHoursVersion1");
Console.WriteLine(nlList.Item(0).InnerXml);
string str = nlList.Item(0).InnerXml;

```

But I am not able to extract the same information for other users.

Answer: 
I use the [GetUserAvailability](http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.exchangeservice.getuseravailability%28v=exchg.80%29.aspx) operation.

Input is an array of users. Output includes an [array of AttendeeAvailability](http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.getuseravailabilityresults.attendeesavailability%28v=exchg.80%29.aspx), which contains a [WorkingHours](http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.workinghours%28v=exchg.80%29.aspx) property, which itself includes TimeZone:

```
GetUserAvailabilityResults uars = service.GetUserAvailability(
    new AttendeeInfo[] { new AttendeeInfo(smtpAddressOfUser, MeetingAttendeeType.Required, true), ... }, 
    new TimeWindow(DateTime.Now, DateTime.Now.AddDays(1)), 
    AvailabilityData.FreeBusy
    );

```
If you have access to the other mailbox in question all you need to do is use the FolderId class specify the Mailbox you want to access and then use the FolderId overload of the UserConfiguration.Bind method eg

```
        FolderId CalendarFolderId = new FolderId(Microsoft.Exchange.WebServices.Data.WellKnownFolderName.Calendar, "user@domain.onmicrosoft.com");
        UserConfiguration usrConfig = UserConfiguration.Bind(service, "WorkHours", CalendarFolderId, UserConfigurationProperties.All);

```

Cheers
Glen