Creating Users on FIM for AD (Functions or Custom Expression)
Hi thereI´m trying to use a function or custom expression to create the mailnickname and logonID for my users for example:UserName: Maria del Socorro Sanchez Lozano.mailnickname and logonID should be: msanchez@fabrikam.com (first_letter of the name + last_name)Somebody knows wich function can help out with this??thanks in advance
February 18th, 2010 10:16pm

There are Uniqueness options in RCDC's if you want to allow the user to enter.if not, then you'll want to write a custom workflow activity with an enumeration activity to verify uniqueness. A description of how is in the forum.Eric
Free Windows Admin Tool Kit Click here and download it now
February 18th, 2010 10:32pm

Maybe I did the wrong question, I just want to be able to create the user in that way I have a Oracle source with the complete name and using sycn rules I want provisionate AD with a right user.
February 18th, 2010 10:50pm

You can do this in your outbound sync rule to AD if you already have the firstname and last name import in the metaverse.Create a new attribute flow with a custom expression like this one.LowerCase(Left(firstName,1)) + LowerCase(Word(lastName,1," ")) + "@fabrikam.com"I use the 'Word' function because, in your exemple, the name of the person seems to be 'Sanchez Lozano' and you want only 'Sanchez'.I use also the 'LowerCase' to change uper char in the name.
Free Windows Admin Tool Kit Click here and download it now
February 19th, 2010 11:21am

Michale's solution will work as long as you don't have any concerns about uniqueness...Eric
February 19th, 2010 5:57pm

Right, but for my case the mailNickname is populate on outbound init flow.So if there's a problem for Exchange, a change can be made to AD.mailNickname can be used to the relationship criteria for the outbound rules with the sAMAccountname criteria.In the FIM portal, is the mailNickname a unique attribute, just like the accountName ?
Free Windows Admin Tool Kit Click here and download it now
February 19th, 2010 7:18pm

Thnks MichaelIt did work great with the word Function.cheers
February 19th, 2010 8:25pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics