set the Active Directory Co attribute from a string source
hello everyone,
i'm trying to set the AD Country attribute from an sql source that has it as a string
the thig is the CO attribute is a list you have to choose from and by sending it a string with the value "France" for example it does not set it
any ideas on how to set this value ?
thanks !
HichamHitch Bardawil
September 28th, 2011 8:43am
I've never had any problems setting it as a string using either FIM or ILM.
//HenrikHenrik Nilsson, Forefront Identity Manager MVP
Blog Twitter
My employer - Cortego
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 11:21am
According to
this blog, you'd have to set countryCode, c and co attributes all together.
In order to properly populate the country code values, you would have to do some kind of lookup in a Rule Extension (if using classic flow rules) or a custom workflow (if using sync rules defined in the portal). I still write most of my rules as VB
rule extensions, but I'm not the best programmer so I'd probably have a function with a large SELECT CASE statement. :-) You could also get the country codes in an XML file and look them up as needed from your code or load them in as part of the
initialization.
For downloadable ISO country code lists, visit
http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm
September 28th, 2011 12:08pm
Chris,
Yes, good point about setting all 3 attributes, but 'technically' you don't have to set all three.You could set one, two or all three. I ask my customer if the country attributes are used for any decision making or are they just 'window dressing'
If it isn't used to drive something in an application, etc - I'll just use the two letter code or not even use it at all if thats appropriate.
If the country values are important to someone, then i'll take the time to manage them through FIM, otherwise, it sometimes makes sense to just leave that part out. When you're working a project in a tight timeframe, there's usually something more critical
to spend time on (the perfectionist in me grubles of course..lol)
Frank C. Drewes III - Consultant: Certified Security Solutions - My blog: http://www.css-security.com/author/fdrewes
Free Windows Admin Tool Kit Click here and download it now
September 29th, 2011 12:01am