If Class Name

Performs a test on the object class name in the current operation.

Fields

Operator

Select the condition test type.

Operator

Returns True when...

Available

There is an object class name available in the current operation.

Not Available

Available would return False.

Equal

There is an object class name available in the current operation, and it equals the specified value when compared using the specified comparison mode.

Not Equal

Equal would return False.

Greater Than

There is an object class name available in the current operation, and it is greater than the content of the condition when compared using the specified comparison mode.

Not Greater Than

Greater Than or Equal would return False.

Less Than

There is an object class name available in the current operation, and it is less than the content of the condition when compared using the specified comparison mode.

Not Less Than

Less Than or Equal would return False.

Value

Contains the value defined for the select 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

Comparison Mode

The condition has a comparison mode parameter that indicates how a 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 operators that contain the comparison mode parameter are:

  • Equal

  • Not Equal

  • Greater Than

  • Not Greater Than

  • Less Than

  • Not Less Than

Example

The example uses the condition If Class Name to govern group membership for a User object based on the title. The policy 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. To view the policy in XML, see 004-Command-GroupChangeOnTitleChange.xml.

Policy for a user changing from manager to employee

Checks to see if the class name of the current object is User.

Class name