How can I programatically query a user's Language/Locale/Region from Exchange 2003?
I'm using Independentsoft's Exchange WebDAV api. I'm trying to get a method signature like:
public string GetUsersLanguage(string username, string password){
//magic
//return fr-FR, or en-US, or nl-NL, etc
}
Exchange 2003 will configure the default folders (Inbox, Calendar, etc) to match the user's locale the first time the mailbox is accessed. So Inbox becomes Postvak IN for Dutch. I'd prefer not to inspect the top level folders and match that against a lookup table; is there another way?
The WebDAV api has a property getcontentlanguage that looks like it should contain the associated language for a mailbox (or at least a top level folder like Inbox), but whenever I query for that field Exchange returns a 404: