Follow the below steps to achieve for First Name, Last Name and UserDN :
First Name :
# Login to IIQ
# Navigate to Applications ---> Application Definition
# Select the Application type : AD or OUD or OID or OVD or LDAP
# Click on Configuration ---> Provisioning policies ---> Click on create form
# Open the First Name ---> Values Settings ---> select the value as rule (or script)
# click on ... then write the rule in rule editor
# Provide the Rule name as PopulateFormFirstName
import sailpoint.object.identity;
return identity.getFirstname();
# Select the rule which you created
# Click on Apply ---> Save ---> ---> Save
--------------------------------------*******************---------------------------------------------
Last Name :
# Login to IIQ
# Navigate to Applications ---> Application Definition
# Select the Application type : AD or OUD or OID or OVD or LDAP
# Click on Configuration ---> Provisioning policies ---> Click on create form
# Open the Last Name ---> Values Settings ---> select the value as rule (or script)
# click on ... then write the rule in rule editor
# Provide the Rule name as PopulateFormLastName
import sailpoint.object.identity;
return identity.getLastname();
# Select the rule which you created
# Click on Apply ---> Save ---> ---> Save
--------------------------------------*******************---------------------------------------------
UserDN :
# Login to IIQ
# Navigate to Applications ---> Application Definition
# Select the Application type : AD or OUD or OID or OVD or LDAP
# Click on Configuration ---> Provisioning policies ---> Click on create form
# Open the UserDN ---> Values Settings ---> select the value as rule (or script)
# click on ... then write the rule in rule editor
# Provide the Rule name as PopulateFormUserDN
import sailpoint.object.identity;
String employeNumber = identity.getAttribute("empID");
return "userID = " + employeNumber + ", OU=USERS,DC=BPR,DC=COM";
(OR)
import sailpoint.object.identity;
String displayName = identity.getDisplayName();
return "CN=" + displayName + ", OU=USERS,DC=BPR,DC=COM";
# Select the rule which you created
# Click on Apply ---> Save ---> ---> Save
No comments:
Post a Comment