Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

String builder in json

bala
New Contributor II
New Contributor II

Hi Team,

Do Saviynt has StringBuilder function, Our requirement is based on Account level attribute we need to manipulate the dynamic values. 

Example: Account level CP1 holds the LDAP object class. In user level we defined 5 custom property where each of the user CP represent the whether custom object class is need for the user based on user level CP values Yes/NO attribute value. In this case we need to take Account level CP1 and manipulate the list of object class needed for the user i.e both add/remove based on user level CP. 

How to achieve this scenario?   Do Saviynt support any StringBuilder where I need to use Account level CP1 again and again and manipulate add and remove operations.  Thanks. 

Please share the sample code if possible. 

 

6 REPLIES 6

NM
Esteemed Contributor
Esteemed Contributor

Hi @bala , use if else statement for your requirement in json.

there would be some object class that will be common for all others you can manipulate on the basis of Json


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

rushikeshvartak
All-Star
All-Star
  • You can use Stringbuilder depends on connector type.

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

bala
New Contributor II
New Contributor II

can you provide some sample Stringbuilder for LDAP connector?  Any document link or forum on this?  

As I mentioned below is our requirement, since we don't have any CP available in user level, we are trying this approach. 

For Example: LDAP account level CP1 can take values like Access1,Access2,Access3,Access4,Access5 for a user account.

Now user A has LDAP account and in Account CP1 he has Access1,Access2,Access3

Now in ARS form, we have dynamic attributes like Need Access1 with dropdown selection Yes or No and we display existing Default value properly also. Similarly we have Need Access2 with dropdown selection Yes or No and same for Access3,Access4,Access5

In target system these attributes are stored in multivalued.  As an Admin in ARS, I see user has Access1,Access2,Access3 and do not have Access4 and Access5.

Now I request in ARS like user needed Access4 and do not need Access1.  Now I can get the Account level CP1 value in update account json  like "Access1,Access2,Access3" and I need to manipulate the value like Access2,Access3, Access4. 

This Access(account level CP1) attribute is just a multivalued attribute and it can't be prompted as an entitlement in Saviynt.

If there is any other easy way to achieve this scenario? 

Thanks

LDAP Connector does not supports CONST hence you can't use StringBuilder


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

bala
New Contributor II
New Contributor II

Hi @rushikeshvartak,

  Are you 100% sure? Because same will be communicated to customer also?  Or should I need to wait until some Saviynt employee confirms on this forum? 

Thanks. 

 

You can test out with basic CONST condition it does not working 

Refer https://forums.saviynt.com/t5/identity-governance/import-account-query-account-type/m-p/101191#M6654... 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.