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

To assign AD groups dynamically based on user's employee type in Technical Rule

Sakshi28
New Contributor III
New Contributor III

Hi Team,

 

We have a requirement to assign AD groups dynamically based on user's employee type.
However, the challenge is e.g.
Employee Type: SALES_AGENT
AD group: CN=NA-SG-SALES-AGENT,OU=Groups,DC=na,DC=net

 

So we also need '_' (underscore) to be replaced with '-' (hyphen) as we can not directly call ${user.employeetype} in object to be assigned.


Please share your inputs on the same.

1 REPLY 1

rushikeshvartak
All-Star
All-Star

${user.employeetype.replace('_', '-')}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.