For trouble shooting purposes, i would like to know the GUID. Because this value is converted, it cannot be searched for.

Code in file profiles_functions.js

canonicalString = com.ibm.connections.directory.services.util.ObjectGUIDConverter.convertBinaryToGUIDString(octetString);

So in order to show the converted string, i added the following lines in the function function_map_from_objectGUID because we choose the objectGUID as the GUID value.
If you choose another one, please add these line in that function ( example: function_map_from_dominoUNID )

// ID Conversion for objectGUID - MS AD/ADAM
 function function_map_from_objectGUID(fieldname) {
   var octetString = null;
   var canonicalString = "";
   var attr = work.getAttribute("objectGUID");

   if(attr != null) {
     octetString = attr.getValue(0);

     if(octetString != null) {
        canonicalString = com.ibm.connections.directory.services.util.ObjectGUIDConverter.convertBinaryToGUIDString(octetString);
     }
   }

// Show extra information for user: emailaddress and GUID

   task.logmsg("Extra information for user: ")
   task.logmsg(work.getString("mail"))
   task.logmsg(canonicalString)
   task.logmsg("-----------------------------------------------------------------")

  return canonicalString;
 }

In the log file you can see the following lines per/user:

Extra information for user:
remco@angioni.nl
EC164EB2-7C96-4D82-8E89-72FA68460D31
—————————————————————–

Visits: 207

By angioni

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.