<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Convert AD's objectGUID to string in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286789#M60411</link>
    <description>Create a routine and add this method to it:&lt;BR /&gt;&lt;PRE&gt;	&lt;BR /&gt;public static String toHexString(byte[] bin) {&lt;BR /&gt;     StringBuilder sb = new StringBuilder();&lt;BR /&gt;     for (byte b : bin) {&lt;BR /&gt;	sb.append(Integer.toHexString(b));&lt;BR /&gt;     }&lt;BR /&gt;     return sb.toString();&lt;BR /&gt;}&lt;BR /&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 11 Feb 2015 18:12:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-11T18:12:22Z</dc:date>
    <item>
      <title>Convert AD's objectGUID to string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286788#M60410</link>
      <description>Hi! &lt;BR /&gt;I need to convert an Active Directory's objectGUID (which is binary data) to a string (like "9698dc61-89f0-42b9-90c8-b54aee97d4ff").&lt;BR /&gt;How can I do it?</description>
      <pubDate>Wed, 11 Feb 2015 16:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286788#M60410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-11T16:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AD's objectGUID to string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286789#M60411</link>
      <description>Create a routine and add this method to it:&lt;BR /&gt;&lt;PRE&gt;	&lt;BR /&gt;public static String toHexString(byte[] bin) {&lt;BR /&gt;     StringBuilder sb = new StringBuilder();&lt;BR /&gt;     for (byte b : bin) {&lt;BR /&gt;	sb.append(Integer.toHexString(b));&lt;BR /&gt;     }&lt;BR /&gt;     return sb.toString();&lt;BR /&gt;}&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Feb 2015 18:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286789#M60411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-11T18:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AD's objectGUID to string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286790#M60412</link>
      <description>Thanks, 
&lt;B&gt;jlolling!&lt;/B&gt;
&lt;BR /&gt;The solution produce output like "61ffffffdcffffff98ffffff96fffffff0ffffff89ffffffb942ffffff90ffffffc8ffffffb54affffffeeffffff97ffffffd4ffffffff" (instead of 9698dc61-89f0-42b9-90c8-b54aee97d4ff), but you have pointed me to right way, so I'll try to use existing java examples to generate required string.
&lt;BR /&gt;If anybody have the complete solution for generation GUID in AD style, post it here, please.</description>
      <pubDate>Wed, 11 Feb 2015 18:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286790#M60412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-11T18:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert AD's objectGUID to string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286791#M60413</link>
      <description>Yes, the values you get are 4-byte digits. My code was made for 1-byte digits.&amp;nbsp;</description>
      <pubDate>Wed, 11 Feb 2015 19:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Convert-AD-s-objectGUID-to-string/m-p/2286791#M60413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-11T19:38:09Z</dc:date>
    </item>
  </channel>
</rss>

