Export (0) Print
Expand All

5.114.7 TransformReplValInfListToSearchEntry

procedure TransformReplValInfListToSearchEntry (
    [in] o: DSNAME,
    [in] chgReply: DRS_MSG_GETCHGREPLY_V6,
    [out] searchResultEntry: SEARCH_RESULT_ENRTY
    )

Informative summary of behavior: The TransformReplValInfListToSearchEntry procedure transforms, for object o, the attribute values in the REPLVALINF list (chgReply.rgValues) to an AttributeList structure in searchResultEntry.

attrList: AttributeList
attrVals: AttributeVals
attributeType: ATTRTYP

TransformDSNameToLdapDN (o, searchResultEntry.objectName)

attrList := searchResultEntry.attributes

foreach distinct attribute attrType of the object o in
chgReply.rgvalues

   attrList.value.type := LDAPDisplayNameFromAttrTyp (attrType)
   attrVals := attrList.value.vals

   foreach attribute value replAttrVal of the attribute attrType
   of the object o in chgReply.rgvalues

      attrVals.value := ValueFromATTRVAL(replAttrVal,
                                        attrType,
                                        dc.prefixTable)
      attrVals := attrVals.next
  endfor

  attrList := attrList.next
endfor

return
 
Show:
© 2015 Microsoft