# move

<move> is used:

- As an event notification from the PublicationShim to DirXML that on object was moved to a different container in the application. When used as a notification, an <association> is required.
- As a command from DirXML to the SubsciptionShim to move an object to a different conatiner in the application. When used as a command, an <association> is required and is the unique key of the object to move.

<move> will contain a <parent> that specifies the new container. When used as a command the <parent> may or may not contain an <association>. If it does not contain an association the driver should not attempt to move the object and should return a <status> level="warning".

A response to <move> should be a <status> indicating whether or not the <move> was processed successfully.

Example

>     <move class-name="User" src-dn="\Users\Samuel" old-src-dn="\Samuel">
>      <association>1012</association>
>      <parent src-dn="\Users\">
>       <association>1013</association>
>      </parent>
>     </move>

## 1. Allowed Content

> association
>   Unique key of the application object.
> parent
>   The parent/container of an object.
> operation-data
>   Operation additional custom data.

## 2. Attributes

> Attribute | Value(s) | Default Value
> --- | --- | ---
> class-name | CDATA The name of the base class of the object. The class 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 namespace and a driver will see the name in the application name space. | #IMPLIED
> dest-dn | CDATA The distinguished name of the target object in the namespace of the receiver. (Reserved) Should be ignored by the driver. | #IMPLIED
> dest-entry-id | CDATA The entry id of the target object in the namespace of the receiver. (Reserved) Should be ignored by the driver. | #IMPLIED
> event-id | CDATA An identifier used to tag the results of an event or command. | #IMPLIED
> old-src-dn | CDATA The original distinguished name of source object that generated the event in the namespace of the sender. | #IMPLIED
> qualified-old-src-dn | CDATA The qualified version of old-src-dn. Only used for describing objects from eDirectory. | #IMPLIED
> qualified-src-dn | CDATA The qualified version of src-dn. Only used for describing objects from eDirectory. | #IMPLIED
> src-dn | CDATA The distinguished name of source object that generated the event in the namespace of the sender. The new distinguished name of source object that generated the event in the namespace of the sender. | #IMPLIED
> src-entry-id | CDATA The entry id of source object that generated the event in the namespace of the sender. (Reserved) Should be ignored by the driver. | #IMPLIED
> timestamp | CDATA (Reserved) Should be ignored by the driver. | #IMPLIED

## 3. Content Rule

> ( association ? , parent , operation-data ? )

## 4. Parent Elements

> input
>   Input events or commands.

Top Elements || All Elements || Tree