Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/25/2024 11:06 PM - edited 08/25/2024 11:10 PM
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.
08/26/2024 12:29 AM
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
08/26/2024 06:23 AM
08/26/2024 09:10 AM
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
08/26/2024 09:14 AM
LDAP Connector does not supports CONST hence you can't use StringBuilder
08/26/2024 09:20 AM
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.
08/26/2024 09:26 AM
You can test out with basic CONST condition it does not working