This section contains detailed reference to all verbs available using the Policy Builder interface.
Escapes a string according to the rules of the DN format of the destination data store.
The example is from the predefined rules that come with Identity Manager 3.0. For more information, see Placement - Publisher Flat .
The action of Set Operation Destination DN uses the Escape Destination DN token to build the destination DN of the User object.
The Escape Destination DN token takes the value in Unique Name and sets it to the format for the destination DN.
Escapes a string according to the rules of the DN format of the source data store.
Converts the characters in a string to lowercase.
This example sets the e-mail address to be name@slartybartfast.com where the name equals the first character of the Given Name plus the Surname. The policy name is Policy: Create E-mail from Given Name and Surname and it is available for download at Novell’s support Web site. For more information, see Downloadable Identity Manager Policies.
The Lower Case token sets all of the information in the action Set Destination attribute value to lowercase.
Converts a DN to an alternate format.
The example uses the Parse DN token to build the value the Add Destination Attribute Value action. The example is from the predefined rules that come with Identity Manager 3.0. For more information, see Command Transformation - Create Departmental Container - Part 1 and Part 2.
The Parse DN token is taking the information from the source DN and converting it to the dot notation. The information from the Parse DN is stored in the attribute value of OU.
If start and length are set to the default values {0,-1}, then the entire DN is used; otherwise only the portion of the DN specified by start and length is used.
When specifying custom DN formats, the eight characters that make up the delimiter set are defined as follows:
1. Typed Name Boolean Flag: 0 means names are not typed, and 1 means names are typed
2. Unicode No-Map Character Boolean Flag: 0 means don’t output or interpret unmappable Unicode characters as escaped hex digit strings, such as \FEFF. The following Unicode characters are not accepted by eDirectory: 0xfeff, 0xfffe, 0xfffd, and 0xffff.
3. Relative RDN Delimiter
4. RDN Delimiter
5. Name Divider
6. Name Value Delimiter
7. Wildcard Character
8. Escape Character
If RDN Delimiter and Relative RDN Delimiter are the same character, the orientation of the name is root right, otherwise the orientation is root left.
If there are more than eight characters in the delimiter set, the extra characters are considered as characters that need to be escaped, but they have no other special meaning.
Replaces all occurrences of a regular expression in a string.
For details on creating regular expressions, see:
The pattern options CASE_INSENSITIVE, DOTALL, and UNICODE_CASE are used but can be reversed by using the appropriate embedded escapes.
Replaces the first occurrence of a regular expression in a string.
The matching instance is replaced the string specified by the value specified in the Replace with field.
For details on creating regular expressions, see:
The pattern option CASE_INSENSITIVE, DOTALL, and UNICODE_CASE are used but can be reversed using the appropriate embedded escapes.
The example reformats the telephone number (nnn)-nnn-nnnn to nnn-nnn-nnnn. The rule is from the predefined rules that come with Identity Manager 3.0. For more information, see Input or Output Transformation - Reformat Telephone Number from (nnn) nnn-nnnn to nnn-nnn-nnnn.
The Replace First token is used in the Reformat Operation Attribute action.
The regular expression of ^\((\d\d\d)\)\s*(\d\d\d)-(\d\d\d\d)$ represents (nnn) nnn-nnnn and the regular expression of $1-$2-$3 represents nnn. This rule transforms the format of the telephone number from (nnn) nnn-nnnn to nnn-nnn-nnnn.
Extracts a portion of a string.
This example sets the e-mail address to be name@slartybartfast.com where the name equals the first character of the Given Name plus the Surname. The policy name is Policy: Create E-mail from Given Name and Surname and it is available for download at Novell’s support Web site. For more information, see Downloadable Identity Manager Policies.
The Substring token is used twice in the action Set Destination Attribute Value. It takes the first character of the First Name attribute and adds eight characters of the Last Name attribute together to form one substring.
Converts the characters in a string to uppercase.
The example converts the first and last name attributes of the User object to uppercase. The policy name is Policy: Convert First/Last Name to Upper Case and it is available for download at Novell’s support Web site. For more information, see Downloadable Identity Manager Policies.