3.1.6.5 Delete Directory Object

This event MUST be generated with the following arguments:

  • iObjectType: One of the directory object types, as defined in section 2.2.8.

  • iPathName: The directory service pathname of the object to be created, as defined in section 2.2.9, or NULL.

  • iGuidIdentifier: The GUID of the object to delete, if iPathName is NULL. Not used if iPathName is not NULL, and can be GUID_NULL in that case.

  • iReplicate: A Boolean value indicating whether replication of this change is needed. TRUE if replication is required, or FALSE if it is not.

Return Value:

  • rStatus: An HRESULT indicating the result of the operation.

The server MUST perform the following actions to process this event:

  • Generate theĀ  Remove Directory Object (section 3.1.6.13) event with the following arguments:

    • iObjectType := iObjectType of this event

    • iPathName := iPathName of this event

    • iGuid := iGuidIdentifier

  • If rStatus returned by the event is not 0x00000000, return rStatus, and take no further action.

  • If iReplicate is TRUE, the server MAY<130> contact other servers to propagate the changes.