Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/24/2024 03:49 AM
Hi all have a scenario where we need to disable and enable the users based on the some conditions in AD connection.
In which we are disabling the users based on the condition and in
moveUsertoOU: if(condition){''} else {disable ou}
we need in enable account OU if the user meets the condition, then we don't need to change the OU
can anyone share the example for EnableOU where if the condition1 is meets then no change of OU,
if condition2 is meet then change the OU if condition3 is meet then change to different out?
09/24/2024 09:51 AM
Sample
"moveUsertoOU":"${if (user.customproperty40=='LOA'){'OU=LOA,OU=XX Users,DC=XX,DC=LOCAL'}else if(user.statuskey==0){'OU=Disable Accounts,OU=XX Users,DC=XX,DC=LOCAL'}else{'OU=On Hold User Accounts,OU=XX Users,DC=XX,DC=LOCAL'}}",