<div dir="ltr">Thanks for your fast response! I created <a href="https://issues.jboss.org/browse/KEYCLOAK-2704">https://issues.jboss.org/browse/KEYCLOAK-2704</a> to track the getUsersCount() REST exposure.<div><br></div><div> - Guus</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 March 2016 at 14:52, Marek Posolda <span dir="ltr"><<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<div>On 23/03/16 10:30, Guus der Kinderen
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi there,
<div><br>
</div>
<div>Recently, I switched from WSO2 Identity Server to Keycloak,
and all of a sudden, the sun is shining a bit brighter, birds
are singing cheerful songs, and I'm pretty sure I just saw a
unicorn pass by, leaving multi-colored droppings. Thanks!</div>
</div>
</blockquote></span>
Nice summary, we should put to our homepage <span><span> :-) </span></span><br><span class="">
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>That being said, I'm still pretty new, and could use some
help. I'll probably have more questions like these pretty
soon. Is there a instant messaging based channel (IRC, XMPP?)
where you guys hang out? For the entry-level questions that I
have, that might be more suitable.</div>
</div>
</blockquote></span>
We have #keycloak on freenode, but using keycloak-user mailing list
is better as not all members are on IRC and asynchronous channel is
preferred.<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>In any case: my first question: We're using keycloak to
form the user base of our existing product. Integration is
going well, but I'm running into a snag: the existing product
has a paged user overview - much like the keycloak
administrative interface. However, unlike the keycloak
interface, I need to be able to calculate the exact amount of
pages (keycloak resorts to having a 'next page' button only, I
need to explicitly provide references to every page).</div>
<div><br>
</div>
<div>To be able to integrate, I need to find a way to retrieve
the total number of users for a particular realm. So far, I'm
retrieving all users to be able to count them, which quite
obviously defeats the purpose of having a paginated call in
the first place. Is there a better way than keycloak.realm(
"myRealm" ).users().search( null, null, null ).size() ?</div>
</div>
</blockquote></span>
We have model method for getUsersCount(), but looks we don't have it
exposed through admin REST endpoint. Feel free to create JIRA.<br>
<br>
Marek<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Kind regards,</div>
<div><br>
</div>
<div> Guus</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
keycloak-user mailing list
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>