3.2.6.1 Create Directory Object
This event MUST be generated with the following arguments:
iDirectoryObject: An instance of a DirectoryObject to be created in the directory.
iAttributeList (Optional): An array of strings containing the sub-set of the names of the directory attributes of the iDirectoryObject to be persisted in the directory. If this argument is not supplied then all directory attributes of the iDirectoryObject which can be persisted at create time will be persisted. The sections for the individual types list which attributes can be persisted at create time.
Return Values:
rStatus: A DirectoryOperationResult that indicates the result of this directory operation.
rObjectGUID: The GUID of the newly created DirectoryObject. This value is undefined if rStatus does not equal DirectoryOperationResult.Success.
The MQDS client MUST perform the following actions to process this event:
Determine the type of iDirectoryObject. If the type is not one of QueueManager, Queue, Site, RoutingLink, ConnectedNetwork, or User, processing MUST end. rStatus MUST be set to DirectoryOperationResult.GenericError and rObjectGUID is undefined.
The steps of the create operation for that type of data element MUST be performed as defined in the following list of sections. The rStatus and rObjectGUID values described in that section MUST be returned.
QueueManager, section 3.2.6.1.1
Queue, section 3.2.6.1.2
Site, section 3.2.6.1.3
RoutingLink, section 3.2.6.1.4
ConnectedNetwork, section 3.2.6.1.5
User, section 3.2.6.1.6