# modify-attr

<modify-attr> is used to specify the modified attribute values for a <modify> operation or event.

Each <modify-attr> should contain at least one <add-value>, <remove-value>, or <remove-all-values>.

The order of the above elements is significant.

Example

See <modify>

## 1. Allowed Content

> remove-value
>   Remove specified attribute value(s).
> remove-all-values
>   Remove all attribute values.
> add-value
>   Add value(s).

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> attr-name | CDATA The name of the attribute. The name is mapped between the application and eDirectory name spaces by the schema mapping rule so that DirXML will see the name in the eDirectory name space and a driver will see the name in the application name space. The mapping rule uses the class-name attribute of the enclosing command or event to determine which class to use for mapping the attribute name. | #REQUIRED
> enforce-password-policy | true | false (Reserved) Should be ignored by the driver. | #IMPLIED

## 3. Content Rule

> ( remove-value | remove-all-values | add-value ) +

## 4. Parent Elements

> modify
>   Modify an object command/Object was modified event.

Top Elements || All Elements || Tree