Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

CreateAccountJSON AD onprem, how to evaluate ParentOU of current userOU

mbh_it
Regular Contributor II
Regular Contributor II

Our customer needs to set following for distinguishedName:

<cn> + "," + <Parent OU>

 

How do I evaluate parentOU and create a CreateAccountJSON for same, can someone please help here?

5 REPLIES 5

SB
Saviynt Employee
Saviynt Employee

The OU information should be provided by your AD team. You can refer the below AD guide for samples of Create Account JSON.

https://docs.saviyntcloud.com/bundle/AD-v23x/page/Content/Configuring-the-Integration-for-Provisioni...


Regards,
Sahil

mbh_it
Regular Contributor II
Regular Contributor II

Sahil, I mean how to evaluate parentOU of current user? is there any variable available? 

SB
Saviynt Employee
Saviynt Employee

Can you elaborate on the use case. Where we need to evaluate the parentOU and what we need to accomplish based on evaluation.


Regards,
Sahil

mbh_it
Regular Contributor II
Regular Contributor II

it needs to evaluate parentOU of user for creating displayName so I am looking for some variable or logical consition to solve this. following is requirement.

maheshbhoi_it_0-1696017411183.png

 

SB
Saviynt Employee
Saviynt Employee

You can use the if else clause to define the different Parent OU values and based on the condition, the appropriate value will be assigned. You can refer to below AD Doc for examples of if-else condition

https://docs.saviyntcloud.com/bundle/AD-v23x/page/Content/Configuring-the-Integration-for-Provisioni...

 


Regards,
Sahil