<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Amazing, you guys are very responsive !
<div class="">Thanks &amp; Cheers !<br class="">
<div class=""><br class="Apple-interchange-newline">
<hr align="left" border-color:#40ae49;="" style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px; border: 0px; width: 320px; height: 1px; background-color: rgb(64, 174, 73);" class="">
<p class="MsoNormal" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0cm 0cm 1pt;">
<br style="color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; orphans: auto; widows: auto;" class="">
<span style="color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; orphans: auto; widows: auto; text-transform: uppercase;" class="">REMI CARTIER</span><br style="color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; orphans: auto; widows: auto;" class="">
</p>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="text-align: -webkit-auto; line-height: 14px;" class=""><font color="#666666" face="Helvetica, Arial, sans-serif" class="">B.O.S.S. (Business &amp; Operation Support Systems) P.O (Product Owner)</font></span></div>
<br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<strong style="font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(64, 174, 73); font-family: Helvetica, Arial, sans-serif; line-height: 14px; text-transform: uppercase;" class="">IMETRIK
 GLOBAL INC.</strong><span style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">&nbsp;</span><br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<strong style="font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">T
 :</strong><span style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">&nbsp;&#43;1
 514 448-6407 x2009</span><br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<strong style="font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">T
 :</strong><span style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">&nbsp;&#43;1
 866 276-5382 (toll free)&nbsp;</span><br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<strong style="font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">F
 :</strong><span style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">&nbsp;&#43;1
 514 904-0611&nbsp;</span><br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<span style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">740
 Notre Dame St. West, Suite 1575&nbsp;</span><br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<span style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">Montreal,
 Quebec, Canada H3C 3X6&nbsp;</span><br style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(102, 102, 102); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">
<a href="http://www.imetrik.com/" target="_blank" style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(64, 174, 73); font-family: Helvetica, Arial, sans-serif; line-height: 14px;" class="">imetrik.com</a>
</div>
<br class="">
<div style="">
<blockquote type="cite" class="">
<div class="">On Oct 2, 2015, at 2:31 AM, Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com" class="">sthorger@redhat.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Looks like there's a difference if you return a specific user or search for users. Returning a user doesn't include null values, while search does. Created&nbsp;<a href="https://issues.jboss.org/browse/KEYCLOAK-1896" class="">https://issues.jboss.org/browse/KEYCLOAK-1896</a>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 1 October 2015 at 16:55, Remi Cartier <span dir="ltr" class="">
&lt;<a href="mailto:remi.cartier@imetrik.com" target="_blank" class="">remi.cartier@imetrik.com</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Stian,
<div class=""><br class="">
</div>
<div class="">that’s actually what I am receiving over the wire. Here is the full log of the communication :</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font face="Menlo" class="">16:18:58.472 [main] DEBUG org.apache.http.headers - &gt;&gt; GET /auth/admin/realms/imetrik/users?first=0&amp;max=<a href="tel:2147483647" value="&#43;12147483647" target="_blank" class="">2147483647</a> HTTP/1.1</font></div>
<div class=""><font face="Menlo" class="">16:18:58.472 [main] DEBUG org.apache.http.headers - &gt;&gt; Accept: application/json</font></div>
<div class=""><font face="Menlo" class="">16:18:58.472 [main] DEBUG org.apache.http.headers - &gt;&gt; Accept-Encoding: gzip, deflate</font></div>
<div class=""><font face="Menlo" class="">16:18:58.472 [main] DEBUG org.apache.http.headers - &gt;&gt; Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiJhZjk4OTY2OS03YmIwLTRkYjgtOTNiNC0xYWI5NmU1MzgyY2UiLCJleHAiOjE0NDM1NTgyMTEsIm5iZiI6MCwiaWF0IjoxNDQzNTU3OTExLCJpc3MiOiJodHRwOi8vbTRpYi1pZG06ODA4MC9hdXRoL3JlYWxtcy9pbWV0cmlrIiwiYXVkIjoidWJpX2RyaXZlciIsInN1YiI6IjA1NTY3MTdlLWZmYjktNGMyZC1iODViLTUzM2Q5Mzk2ZjI0MyIsImF6cCI6InViaV9kcml2ZXIiLCJzZXNzaW9uX3N0YXRlIjoiMDQyNTdlY2EtMDAxMi00ZDU5LWFjMWItNWQ0NzI1MTFiMTc2IiwiY2xpZW50X3Nlc3Npb24iOiI5OGVkZjRkMC00MTk5LTRjODctYjY0OC1jYzhiYzI3MDhkMmUiLCJhbGxvd2VkLW9yaWdpbnMiOltdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsicmVhbG0tcm9sZSJdfSwicmVzb3VyY2VfYWNjZXNzIjp7InViaV9kcml2ZXIiOnsicm9sZXMiOlsibWlsZWFnZSJdfSwicmVhbG0tbWFuYWdlbWVudCI6eyJyb2xlcyI6WyJ2aWV3LXJlYWxtIiwidmlldy1pZGVudGl0eS1wcm92aWRlcnMiLCJtYW5hZ2UtZXZlbnRzIiwibWFuYWdlLXJlYWxtIiwibWFuYWdlLWlkZW50aXR5LXByb3ZpZGVycyIsImltcGVyc29uYXRpb24iLCJyZWFsbS1hZG1pbiIsInZpZXctZXZlbnRzIiwibWFuYWdlLXVzZXJzIiwidmlldy11c2VycyIsInZpZXctY2xpZW50cyIsIm1hbmFnZS1jbGllbnRzIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50Iiwidmlldy1wcm9maWxlIl19fSwibmFtZSI6ImZpcnN0IG5hbWUgbGFzdCBuYW1lIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4iLCJnaXZlbl9uYW1lIjoiZmlyc3QgbmFtZSIsImZhbWlseV9uYW1lIjoibGFzdCBuYW1lIn0.Px7tQJ8TV7ba9urpdNUq-HXul01CebvwSe6mpusMzLmIBJUdlzIJnzXyiuz4_AD9vwdYc5KCMHQ8LbucDs5ZrDYx5JQVJEIAQq6_q7d8hsE2gwp0SPejHvtJgki-hDRiuVlp-8lYGLQ6oJ_ipc6GBeVoaxQU8mmBEailh_rxpRwlXSNkef-r_ixzVwY3EQ5K55V2ivYFLmgEbi4mp7dU1FlzsAlvUOuJzbhVo-pyi0iQBjsvca8IJSIKQetCFxvTNXPIQUk5-bBI96_MOFYyoTenCs2m2ygEBDWB8GabrszAPLGEHEEJ2IgXIEK1kditZ7rXNm-ZgcVGYiBbzhVprQ</font></div>
<div class=""><font face="Menlo" class="">16:18:58.472 [main] DEBUG org.apache.http.headers - &gt;&gt; Host: m4ib-idm:8080</font></div>
<div class=""><font face="Menlo" class="">16:18:58.472 [main] DEBUG org.apache.http.headers - &gt;&gt; Connection: Keep-Alive</font></div>
<div class=""><font face="Menlo" class="">16:18:58.478 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;HTTP/1.1 200 OK[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;Connection: keep-alive[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;Cache-Control: no-cache[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;X-Powered-By: Undertow/1[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;Server: WildFly/9[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;Transfer-Encoding: chunked[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;Content-Type: application/json[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;Date: Tue, 29 Sep 2015 20:18:31 GMT[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG o.a.h.i.conn.DefaultClientConnection - Receiving response: HTTP/1.1 200 OK</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; HTTP/1.1 200 OK</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; Connection: keep-alive</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; Cache-Control: no-cache</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; X-Powered-By: Undertow/1</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; Server: WildFly/9</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; Transfer-Encoding: chunked</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; Content-Type: application/json</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG org.apache.http.headers - &lt;&lt; Date: Tue, 29 Sep 2015 20:18:31 GMT</font></div>
<div class=""><font face="Menlo" class="">16:18:58.479 [main] DEBUG o.a.h.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely</font></div>
<div class=""><font face="Menlo" class="">16:18:58.480 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;01db[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.480 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;[{&quot;self&quot;:null,&quot;id&quot;:&quot;0556717e-ffb9-4c2d-b85b-533d9396f243&quot;,&quot;createdTimestamp&quot;:1443542144845,&quot;username&quot;:&quot;admin&quot;,&quot;enabled&quot;:true,&quot;totp&quot;:false,&quot;emailVerified&quot;:true,&quot;firstName&quot;:&quot;first
 name&quot;,&quot;lastName&quot;:&quot;last name&quot;,&quot;email&quot;:null,&quot;federationLink&quot;:null,&quot;serviceAccountClientId&quot;:null,&quot;attributes&quot;:{&quot;key1&quot;:[&quot;value1&quot;]},&quot;credentials&quot;:null,&quot;requiredActions&quot;:[],&quot;federatedIdentities&quot;:null,<font color="#ff4013" class="">&quot;realmRoles&quot;:null</font>,<font color="#ff6251" class="">&quot;clientRoles&quot;:null</font>,&quot;clientConsents&quot;:null,<font color="#ff6a00" class="">&quot;applicationRoles&quot;:null</font>,&quot;socialLinks&quot;:null}]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.552 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.552 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;0[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.552 [main] DEBUG org.apache.http.wire - &nbsp;&lt;&lt; &quot;[\r][\n]&quot;</font></div>
<div class=""><font face="Menlo" class="">16:18:58.552 [main] DEBUG o.a.h.i.c.BasicClientConnectionManager - Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@483f6d77</font></div>
<div class=""><font face="Menlo" class="">16:18:58.552 [main] DEBUG o.a.h.i.c.BasicClientConnectionManager - Connection can be kept alive indefinitely</font></div>
<div class=""><br class="">
</div>
<div class="">Regards.</div>
<span class="">
<div class=""><br class="">
<hr align="left" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px;border:0px;width:320px;min-height:1px;background-color:rgb(64,174,73)" class="">
<p class="MsoNormal" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; margin: 0cm 0cm 1pt;">
<br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px" class="">
<span style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;text-transform:uppercase" class="">REMI CARTIER</span><br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px" class="">
</p>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<span style="text-align:-webkit-auto;line-height:14px" class=""><font color="#666666" face="Helvetica, Arial, sans-serif" class="">B.O.S.S. (Business &amp; Operation Support Systems) P.O (Product Owner)</font></span></div>
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px;text-transform:uppercase" class="">IMETRIK
 GLOBAL INC.</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">T
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:514%20448-6407%20x2009" value="&#43;15144486407" target="_blank" class="">
514 448-6407 x2009</a></span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">T
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:866%20276-5382" value="&#43;18662765382" target="_blank" class="">866 276-5382</a> (toll free)&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">F
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:514%20904-0611" value="&#43;15149040611" target="_blank" class="">514 904-0611</a>&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">740
 Notre Dame St. West, Suite 1575&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">Montreal,
 Quebec, Canada H3C 3X6&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<a href="http://www.imetrik.com/" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px" target="_blank" class="">imetrik.com</a>
</div>
<br class="">
</span>
<div class="">
<div class="h5">
<div class="">
<blockquote type="cite" class="">
<div class="">On Oct 1, 2015, at 10:37 AM, Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com" target="_blank" class="">sthorger@redhat.com</a>&gt; wrote:</div>
<br class="">
<div class="">
<div dir="ltr" class="">Just tried it and the returned json for a user is:
<div class=""><br class="">
<div class="">&nbsp; &nbsp;{&quot;id&quot;:&quot;354094d6-8b32-4c32-b1ae-ccd82c5fdca3&quot;,&quot;createdTimestamp&quot;:1443710165680,&quot;username&quot;:&quot;admin&quot;,&quot;enabled&quot;:true,&quot;totp&quot;:false,&quot;emailVerified&quot;:false,&quot;attributes&quot;:{&quot;locale&quot;:[&quot;en&quot;]},&quot;requiredActions&quot;:[]}<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Which doesn't include the roles field. So this is shown because the way you are printing the user, not because it's included on the wire.</div>
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 1 October 2015 at 16:34, Stian Thorgersen <span dir="ltr" class="">
&lt;<a href="mailto:sthorger@redhat.com" target="_blank" class="">sthorger@redhat.com</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr" class="">Is that the json sent on the wire, or is it after you've marshalled it to UserRepresentation and then printed it back again?</div>
<div class="">
<div class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 1 October 2015 at 15:34, Remi Cartier <span dir="ltr" class="">
&lt;<a href="mailto:remi.cartier@imetrik.com" target="_blank" class="">remi.cartier@imetrik.com</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">yes,
<div class=""><br class="">
</div>
<div class="">I can see :</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">[</div>
<div class="">&nbsp; &nbsp; {</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;applicationRoles&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;attributes&quot;: {</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;key1&quot;: [</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;value1&quot;</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; },</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;clientConsents&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;clientRoles&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;createdTimestamp&quot;: 1443542144845,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;credentials&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;email&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;emailVerified&quot;: true,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;enabled&quot;: true,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;federatedIdentities&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;federationLink&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;firstName&quot;: &quot;first name&quot;,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;id&quot;: &quot;0556717e-ffb9-4c2d-b85b-533d9396f243&quot;,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;lastName&quot;: &quot;last name&quot;,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;realmRoles&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;requiredActions&quot;: [],</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;self&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;serviceAccountClientId&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;socialLinks&quot;: null,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;totp&quot;: false,</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &quot;username&quot;: &quot;admin&quot;</div>
<div class="">&nbsp; &nbsp; }</div>
<div class="">]</div>
<div class=""><br class="">
</div>
<div class="">when doing the query :&nbsp;GET /auth/admin/realms/imetrik/users?first=0&amp;max=<a href="tel:2147483647" value="&#43;12147483647" target="_blank" class="">2147483647</a></div>
<span class="">
<div class=""><br class="">
<hr align="left" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px;border:0px;width:320px;min-height:1px;background-color:rgb(64,174,73)" class="">
<p class="MsoNormal" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0cm 0cm 1pt">
<br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px" class="">
<span style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;text-transform:uppercase" class="">REMI CARTIER</span><br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px" class="">
</p>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<span style="text-align:-webkit-auto;line-height:14px" class=""><font color="#666666" face="Helvetica, Arial, sans-serif" class="">B.O.S.S. (Business &amp; Operation Support Systems) P.O (Product Owner)</font></span></div>
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px;text-transform:uppercase" class="">IMETRIK
 GLOBAL INC.</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">T
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:514%20448-6407%20x2009" value="&#43;15144486407" target="_blank" class="">
514 448-6407 x2009</a></span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">T
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:866%20276-5382" value="&#43;18662765382" target="_blank" class="">866 276-5382</a> (toll free)&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">F
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:514%20904-0611" value="&#43;15149040611" target="_blank" class="">514 904-0611</a>&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">740
 Notre Dame St. West, Suite 1575&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">Montreal,
 Quebec, Canada H3C 3X6&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<a href="http://www.imetrik.com/" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px" target="_blank" class="">imetrik.com</a>
</div>
<br class="">
</span>
<div class="">
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Oct 1, 2015, at 2:49 AM, Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com" target="_blank" class="">sthorger@redhat.com</a>&gt; wrote:</div>
<br class="">
<div class="">
<div dir="ltr" class="">Sorry, I meant does it include the &quot;roles&quot; field?</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 30 September 2015 at 16:24, Remi Cartier <span dir="ltr" class="">
&lt;<a href="mailto:remi.cartier@imetrik.com" target="_blank" class="">remi.cartier@imetrik.com</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="">
<div style="direction:ltr;font-family:Tahoma;font-size:10pt" class="">The JSON response (string) does NOT contain any roles.
<div class=""><br class="">
<div style="font-family:'Times New Roman';font-size:16px" class="">
<hr class="">
<div style="direction:ltr" class=""><font face="Tahoma" size="2" class=""><b class="">From:</b> Stian Thorgersen [<a href="mailto:sthorger@redhat.com" target="_blank" class="">sthorger@redhat.com</a>]<br class="">
<b class="">Sent:</b> Wednesday, September 30, 2015 7:39 AM<br class="">
<b class="">To:</b> Remi Cartier<br class="">
<b class="">Cc:</b> Marek Posolda; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank" class="">
keycloak-dev@lists.jboss.org</a>
<div class="">
<div class=""><br class="">
<b class="">Subject:</b> Re: [keycloak-dev] Admin REST - User Roles<br class="">
</div>
</div>
</font><br class="">
</div>
<div class="">
<div class="">
<div class=""></div>
<div class="">
<div dir="ltr" class="">Does the response actually contain the roles though? You're parsing to&nbsp;<span style="font-size:12.8px" class="">UserRepresentation then printing it out afterwards.</span>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On 30 September 2015 at 13:24, Remi Cartier <span dir="ltr" class="">
&lt;<a href="mailto:remi.cartier@imetrik.com" target="_blank" class="">remi.cartier@imetrik.com</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" class="">
<div style="direction:ltr;font-family:Tahoma;font-size:10pt" class="">
<div class="">Marek,</div>
<div class=""><br class="">
</div>
<div class="">I see, thank you for your reply.</div>
<div class=""><br class="">
</div>
<div class="">Wouldn't it be less error/question prone if the endpoint returning all the users wouldn't show the *roles attributes ?</div>
<div class="">Because they will always be null if I understood correctly.</div>
<div class=""><br class="">
</div>
<div class="">Regards.</div>
<div class=""><br class="">
</div>
<div class="">Rémi.</div>
<br class="">
<div style="font-family:'Times New Roman';font-size:16px" class="">
<hr class="">
<div style="direction:ltr" class=""><font face="Tahoma" size="2" class=""><b class="">From:</b> Marek Posolda [<a href="mailto:mposolda@redhat.com" target="_blank" class="">mposolda@redhat.com</a>]<br class="">
<b class="">Sent:</b> Wednesday, September 30, 2015 6:21 AM<br class="">
<b class="">To:</b> Remi Cartier; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank" class="">
keycloak-dev@lists.jboss.org</a><br class="">
<b class="">Subject:</b> Re: [keycloak-dev] Admin REST - User Roles<br class="">
</font><br class="">
</div>
<div class="">
<div class="">
<div class=""></div>
<div class="">
<div class="">Hi,<br class="">
<br class="">
to retrieve realm role mappings of user, you need to use the endpoint like <a href="http://localhost:8080/auth/admin/realms/demo/users/" target="_blank" class="">
http://localhost:8080/auth/admin/realms/demo/users/</a>{userid}/role-mappings/realm . See the docs for details:
<a href="http://keycloak.github.io/docs/rest-api/overview-index.html" target="_blank" class="">
http://keycloak.github.io/docs/rest-api/overview-index.html</a><br class="">
<br class="">
Marek<br class="">
<br class="">
On 29/09/15 19:06, Remi Cartier wrote:<br class="">
</div>
<blockquote type="cite" class="">Hi guys,
<div class=""><br class="">
</div>
<div class="">first of all, thank you for that great piece of software, it’s amazing !</div>
<div class=""><br class="">
</div>
<div class="">Now, down to business.</div>
<div class=""><br class="">
</div>
<div class="">When I do :</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; keycloak = Keycloak.getInstance(getKeycloakServerURL(), getKeycloakRealm(), getKeycloakRealmAdminUsername(), getKeycloakRealmAdminPassword(), getKeycloakClientId());</div>
<div class="">
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; for (UserRepresentation userRepresentation : keycloak.realm(getKeycloakRealm()).users().search(null, 0, Integer.MAX_VALUE)) {</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://log.info/" target="_blank" class="">log.info</a>(ToStringBuilder.reflectionToString(userRepresentation, ToStringStyle.JSON_STYLE));</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; }</div>
</div>
<div class=""><br class="">
</div>
<div class="">The information I get does not contain any roles, all the roles related fields are ‘null’. -&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">{&quot;self&quot;:null,&quot;id&quot;:&quot;0556717e-ffb9-4c2d-b85b-533d9396f243&quot;,&quot;createdTimestamp&quot;:1443542144845,&quot;username&quot;:&quot;admin&quot;,&quot;enabled&quot;:true,&quot;totp&quot;:false,&quot;emailVerified&quot;:true,&quot;firstName&quot;:&quot;first name&quot;,&quot;lastName&quot;:&quot;last name&quot;,&quot;email&quot;:null,&quot;federationLink&quot;:null,&quot;serviceAccountClientId&quot;:null,&quot;attributes&quot;:{key1=[value1]},&quot;credentials&quot;:null,&quot;requiredActions&quot;:[],&quot;federatedIdentities&quot;:null,&quot;realmRoles&quot;:null,&quot;clientRoles&quot;:null,&quot;clientConsents&quot;:null,&quot;applicationRoles&quot;:null,&quot;socialLinks&quot;:null}</div>
<div class="">However in the admin interface I have setup roles at each layer : realm, client</div>
<div class=""><br class="">
</div>
<div class="">The user I am using to do the queries has all the *realm* roles associated.</div>
<div class=""><br class="">
</div>
<div class="">is there anything else I need to do ?</div>
<div class=""><br class="">
</div>
<div class="">thank you for your help !</div>
<div class=""><br class="">
<hr align="left" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px;border:0px;width:320px;min-height:1px;background-color:rgb(64,174,73)" class="">
<p class="MsoNormal" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0cm 0cm 1pt">
<br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px" class="">
<span style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;text-transform:uppercase" class="">REMI CARTIER</span><br style="color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px" class="">
</p>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<span style="line-height:14px" class=""><font face="Helvetica, Arial,
                sans-serif" color="#666666" class="">B.O.S.S. (Business &amp; Operation Support Systems) P.O (Product Owner)</font></span></div>
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px;text-transform:uppercase" class="">IMETRIK
 GLOBAL INC.</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">T
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:514%20448-6407%20x2009" value="&#43;15144486407" target="_blank" class="">
514 448-6407 x2009</a></span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">T
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:866%20276-5382" value="&#43;18662765382" target="_blank" class="">866 276-5382</a> (toll free)&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<strong style="font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">F
 :</strong><span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">&nbsp;&#43;1
<a href="tel:514%20904-0611" value="&#43;15149040611" target="_blank" class="">514 904-0611</a>&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">740
 Notre Dame St. West, Suite 1575&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<span style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">Montreal,
 Quebec, Canada H3C 3X6&nbsp;</span><br style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(102,102,102);font-family:Helvetica,Arial,sans-serif;line-height:14px" class="">
<a href="http://www.imetrik.com/" style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(64,174,73);font-family:Helvetica,Arial,sans-serif;line-height:14px" target="_blank" class="">imetrik.com</a>
</div>
<br class="">
</div>
<br class="">
<fieldset class=""></fieldset> <br class="">
<pre class="">_______________________________________________
keycloak-dev mailing list
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank" class="">keycloak-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
_______________________________________________<br class="">
keycloak-dev mailing list<br class="">
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank" class="">keycloak-dev@lists.jboss.org</a><br class="">
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
keycloak-dev mailing list<br class="">
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank" class="">keycloak-dev@lists.jboss.org</a><br class="">
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>