Provision Groups to AD: GroupType Custom Expression help
Hi,
I'm having some trouble entering the below custom expression into the outbound flow definition for "grouptype"..from the description in the
provisioning groups to AD document im not sure in which fields to enter the information, so the result looks like the following...
CustomExpression(IIF(Eq(type,"Distribution"),IIF(Eq(scope,"Universal"),8,IIF(Eq(scope,"Global"),2,4)),IIF(Eq(scope,"Universal"),-2147483640,IIF(Eq(scope,"Global"),-2147483646,-2147483644))))
So far ive done then following:
Function > IIF
Condition:Boolean > CustomExpression = Eq(type,"Distribution")
ValueTrue:Object > CustomExpression = "Distribution"
ValueFalse:Object > ??? = ???
<Concatenate>
Function > IIF
Condition:Boolean > CustomExpression= Eq(scope,"Universal")
ValueTrue:Object > Number = 8
ValueFalse:Object = ???
<Concatenate>
Function > IIF
Condition:Boolean > CustomExpression= Eq(scope,"Global")
ValueTrue:Object > Number = 2,4
ValueFalse:Object = ???
<Concatenate>
Function > IIF
Condition:Boolean > CustomExpression= Eq(scope,"Universal")
ValueTrue:Object > Number = -2147483640
ValueFalse:Object = ???
<Concatenate>
Function > IIF
Condition:Boolean > CustomExpression= Eq(scope,"Global")
ValueTrue:Object > Number = -2147483646,-2147483644
ValueFalse:Object = ???
Im too sure about how to correctly input these types of custom expressions. Any assistance appreciated.
Stu
April 27th, 2010 6:50am
Hi,
you can copy and paste the code directly in the sync rule.
For this,select your syncrule in the portal, go to the tab Outbound/inbound attribute flow and clic the button to create a new attribute flow. There, in the dropdownlist, go down and select
CustomExpression. Now you have a free textbox to enter the code below :
IIF(Eq(type,"Distribution"),IIF(Eq(scope,"Universal"),8,IIF(Eq(scope,"Global"),2,4)),IIF(Eq(scope,"Universal"),-2147483640,IIF(Eq(scope,"Global"),-2147483646,-2147483644)))
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2010 10:26am
i think i had tried that already but it didnt work...i may have mistyped it so i will try again.
Cheers
April 28th, 2010 2:47am
Whats the best way to only write Global groups?
Free Windows Admin Tool Kit Click here and download it now
December 22nd, 2010 9:21am