[keycloak-user] Listing all realm users programmatically

Luke Holmquist lholmqui at redhat.com
Mon Jun 27 08:51:41 EDT 2016


if you are opening to using javascript, you could also use some of the
methods here:  https://github.com/bucharest-gold/keycloak-admin-client

On Mon, Jun 27, 2016 at 5:59 AM, Haim Vana <haimv at perfectomobile.com> wrote:

> Hi,
>
>
>
> Is there a way to list all realm users programmatically via the API ? also
> is there a way to delete all of them ?
>
>
>
> I think I should use the below, however what should I insert in the search
> method for getting all the users ?
>
>
>
> *keyCloakClient.realms().realm(realmName).users().search()*
>
>
>
>
>
> Thanks,
>
> Haim.
>
>
> The information contained in this message is proprietary to the sender,
> protected from disclosure, and may be privileged. The information is
> intended to be conveyed only to the designated recipient(s) of the message.
> If the reader of this message is not the intended recipient, you are hereby
> notified that any dissemination, use, distribution or copying of this
> communication is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to the message and deleting it from your computer. Thank you.
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160627/dba43410/attachment.html 


More information about the keycloak-user mailing list