3.1.6.11 Add Object to Directory

This event MUST be generated with the following arguments:

  • iObject: The directory object to be added.

Return Values:

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

The server SHOULD<135> perform the following actions to process this event:

  • If iObject is a not User ADM element instance:

  • Else:

    • Generate the Write Directory ([MS-MQDSSM] section 3.1.6.7) event with the following argument to create the directory object:

      • iDirectoryObject := iObject

  • If the event returns DirectoryOperationResult.Success, set rStatus to 0x00000000; otherwise, set rStatus to a failure HRESULT.