Performs a test on the name of the current operation. The type of test performed depends on the specified operator.
Select the condition test type.
Contains the value defined for the selected operator. The value is used by the condition. Each value supports variable expansion. For more information, see Variable Expansion. The operators that contain the value field are:
Equal
Not Equal
Greater Than
Not Greater Than
Less Than
Not Less Than
The values are the operations that the Metadirectory engine looks for:
add
add-association
check-object-password
delete
generated-password
get-named-password
modify
modify-association
modify-password
move
init-params
instance
password
query
query-schema
remove-association
rename
schema-def
status
sync
This list is not exclusive. Custom operations can be implemented by drivers and administrators.
Some condition tests have a mode parameter that indicates how the comparison is done.
Mode |
Description |
---|---|
Case Sensitive |
Character-by-character case sensitive comparison. |
Case Insensitive |
Character-by-character case insensitive comparison. |
Regular Expression |
The regular expression matches the entire string. It defaults to case insensitive, but can be changed by an escape in the expression. See Sun’s Web site. The pattern options CASE_INSENSITIVE, DOTALL, and UNICODE_CASE are used but can be reversed using the appropriate embedded escapes. |
Source DN |
Compares using semantics appropriate to the DN format for the source data store. |
Destination DN |
Compares using semantics appropriate to the DN format for the destination data store. |
Numeric |
Compares numerically. |
Binary |
Compares the binary information. |
The example adds a User object to the appropriate group, Employee or Manager, based on Title. It also creates the group, if needed, and sets up security equal to that group. The policy name is Govern Groups for User Based on Title Attribute, and it is available for download from the Novell Support Web site. For more information, see
Downloading Identity Manager Policies
in
Understanding Policies for Identity Manager 3.5.1
. To view the policy in XML, see
003-Command-AddCreateGroups.xml.
The condition is checking to see if an Add or Modify operation has occurred. When one of these occurs, it sets the local variables.