Creation Rule is triggered only at the time of Identity creation. We can use this rule to set default passwords for identities or transform any attribute values while creating the identities. Below is the sample Beanshell script:
import sailpoint.object.Identity;
// All identities using this creation rule will have their passwords set to "Pass2@2@"
identity.setPassword("Pass2@2@");
//
// Remove the "." in the fullName for the Identity Name
//
String fullName = account.getStringAttribute("fullName");
System.out.println("Display Name (before removing .) = " + fullName);
fullName = fullName.replace("."," ");
System.out.println("Display Name (after removing .) = " + fullName);
identity.setDisplayName(fullName);
Comment below if you find this post helpful.
No comments:
Post a Comment