How to set Provisioning target account selector rule for role creation

Hi,
We need to create IT role with Active directory entitlement through code and need to add rule in Provisioning Target Account selector Rules in IT role through rule.

If anyone work on this, suggest the approach for adding selectors rule to IT role.

Thanks,
Nagesh

You can try using setAccountSelectorRule​(Rule r) to add the account selector rule. Look at the Java Docs for more information.

Hi,

Thw following code snippet would do the job.

AccountSelectorRules accountSelectorRules = new AccountSelectorRules();
		
if (accountSelectorRule != null) {
    accountSelectorRules.setBundleLevelAccountSelectorRule(accountSelectorRule);
}

bundle.setAccountSelectorRules(accountSelectorRules);

Br,
Renad

@koradanageshkumar

here is post for business role but you can add for IR Role also. should be easy one.

SAILPOINT IDENTITY IQ: Sailpoint IdentityIQ Creating Business Role Using API

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.