Creating a multi-part Email Account Status notification handler for Delegated Admin user ADD requests
You must set an Email Account Status notification handler in the password policy in force for new users. This handler is typically the default password policy.
About this task
The notification handler references the email template in the config/account-status-notification-email-templates folder.
|
The setup script creates an example notification handler in a disabled state. This handler cannot be enabled until an SMTP server becomes available in the global configuration. |
Steps
-
Create or enable the handler:
Choose from:
-
To create the handler from scratch, use the
dsconfig create-account-status-notification-handlercommand.$ dsconfig create-account-status-notification-handler \ --handler-name "Delegated Admin Email Account Status \ Notification Handler" --type multi-part-email --set \ enabled:true --set \ "account-creation-notification-request-criteria:Delegated \ Admin User Creation Request Criteria" --set \ account-created-message-template:config/account-status-\ notification-email-templates/delegated-admin-account-created.template -
To enable the handler that is provided with the setup script, use the
dsconfig set-account-status-notification-handler-propcommand.$ dsconfig set-account-status-notification-handler-prop \ --handler-name "Delegated Admin Email Account Status Notification \ Handler" --set enabled:true
-
-
Set the handler in the password policy.
Example:
$ dsconfig set-password-policy-prop \ --policy-name "Default Password Policy" --set \ "account-status-notification-handler:Delegated Admin Email Account \ Status Notification Handler"