required-attr

Deprecated as of Identity Manager 2.0. Use DirXMLScript <do-veto-if-op-attr-not-available> or <do-set-default-attr-value> instead.

Remarks

<required-attr> is used to specify an attribute required to create an object as part of the criteria for the enclosing <create-rule>.

<required-attr> can contain one or more <value> elements. If it contains any value elements, there are used as default values if the <add> event did not specify that attribute. If no default values are specified, then the <add> event is vetoed unless it contains an <add-attr> corresponding to the attr-name of the <required-attr>.

Example

See <create-rules>.

Allowed Content

Element

Description

value

The attribute value.

Attributes

Attribute

Possible Values

Default Value

attr-name

CDATA

The name of the required attribute in the eDirectory namespace.

#REQUIRED

write-back

true | false

Set to true if the default value should also be written back to the source object.

false

Content Rule

( value ) *

Parent Elements

Element

Description

create-rule

Object creation rule. Deprecated as of Identity Manager 2.0.