Utility object.
Method:
Returns email IDs based on a notification rule.
The first argument supports the following predefined notification rules, enclosed in quotes:
You can also reference a custom notification rule that you create with the Notification Rule API. For information, see the Programming Guide for Java.
The second argument is optional. You can use it to pass one or more user-defined name/value pairs into a custom notification rule. Separate each name/value pair with a comma, in the following format:
"name1=value1,name2=value2,..."
Examples:
<% _to = _util.getNotifiers("ADMIN"); _cc = ""; %> <% _to = _util.getNotifiers("MYRULE","type=loan,district=3"); _cc = ""; %>
Notifying a User’s Manager
You can use the USER_MANAGER notification rule to send email to any user’s manager. CA IdentityMinder uses this rule in the email templates supporting user entitlement certification.
Note: The USER_MANAGER Notification Rule only applies to events or tasks that create or manage a single user.
Because there are a number of different ways a user-to-manager relationship can be specified within a user directory, the default User Manager Notification Adapter resolves this relationship based on an attribute expression specified in the second parameter of the getNotifiers() method.
Example:
<% _to = _util.getNotifiers("USER_MANAGER","ManagerLookup=managerattribute"); _cc = ""; %>
The User Manager Notification Adapter supports two look-up options:
You configure these lookup options in the Miscellaneous Properties for an environment in the CA IdentityMinder Management Console.
To configure the USER_MANAGER notification rule:
<attribute> <operator> <filter>
For example, title EQUALS manager
You can also write a custom adapter and create your own rules for notifying a user’s manager. See the Programming Guide for Java.
Copyright © 2013 CA.
All rights reserved.
|
|