I would like to ask about the notification settings for a manager when a new user is created.
When I manually create a new user in the UI, in the Classic View there is a checkbox labeled: “Notify Supervisor of the credentials for the new user via e-mail. Requires a supervisor to be selected.”
However, when I load new users from an MS SQL HR database, how can I trigger this setting? In other words, is there a way to send a notification to the manager, or to another email address, once provisioning is completed?
Among the mail templates, I found one called NEW_USER_EMAIL_SUPERVISOR, but I’m not sure how to use it. I also didn’t find any demonstration of this in the training videos.
To notify the supervisor via email when new users are loaded from your MS SQL HR database, you can enable this functionality directly within your transformation script.
Please add the following line to your script:
pUser.setEmailCredentialsToSupervisor(true);
This will ensure that, upon user creation, an email with the user’s credentials is automatically sent to the designated supervisor (assuming a supervisor is defined for the user).
Please let me know if you have any other questions.
One more question. Is there a way to configure sending a copy of these notifications to a specific predefined mailbox, for example, for the IT administrator?
Yes, this can be configured in OpenIAM. You can send a copy of notifications to a predefined mailbox by modifying the SMTP configuration and/or customizing the notification templates to include additional recipients (like a monitoring or audit mailbox).