I am looking at the countryCode attribute on various user accounts,
and trying to work out:
i) Which applications make use of it
ii) Which numbers mean which countries.
The MSDN documnetation for the attribute:
- seems to suggest that this is an ITU country code, and the only ITU
country code which is an integer would be one defined in E.164
But that doesn't really uniquely identify a country, especially not
for the documented purpose of specifying "the country/region code for
the user's language of choice". For example - a countryCode value of
"1" could be USA, or Canada, Grenada, Dominican Republic or American
Samoa - or many more.
I'm seeing countryCode values which appear to match those in ISO 3166-1 numeric:
Eg: Canada = 124, USA = 840.
Which standard is "expected", and by which software?
Is the reference to ITU just supposed to mean that the attribute has
been defined by the ITU in an old spec of DAP (without the L)?
Nie mój cyrk, nie moje małpy.
Not my circus, not my monkeys.
- 108 Views
- Last Post 22 July 2014
IIRC, it is based on ISO 3166. I don't know which applications might use or set it. The countryCode on my UW user account is zero and I am using Exchange, Dynamics AX, Lync and other MS services. I did notice a handful of accounts that have countryCode set to 840 but I don't know what app set that value.
Eric Kool-Brown, University of Washington - IT Identity and Access Management
I always figured it was a vestigial part of x.500 that no one seems to have found a use for.