[keycloak-user] Getting the user email before delete it

Stian Thorgersen sthorger at redhat.com
Mon Jun 13 09:28:00 EDT 2016


You can get the user object from session.users().getUserById(..), which
will give you the email.

On 11 June 2016 at 08:58, Jairo Henao <jahenao at itroisolutions.com> wrote:

> Hello community:
>
>
>
> I have a listener that is pending when an administrator deletes a user.
> How I can get the user email?
>
>
>
> Apparently I can only get his ID, but I need his email to delete it in
> HubSpot.
>
>
>
> There is something like a pre-delete event?
>
>
>
> Thanks,
>
>
>
>
>
> *Jairo Henao Rojas*
>
> IT ROI Solutions
>
> Software Architect
>
> Mobile  : 314-738-6032
>
> Office Colombia: + (571) 381-9185
>
> Office Mexico: + 52-81-4624-4468
>
> Office Chile: + 5622-582-2257
> Office USA:  954-518-3330
>
> Office Canada:  604-998-2280
>
> *jahenao at itroisolutions.com <jahenao at itroisolutions.com>*
>
>
>
> [image: cid:image001.png at 01CFACA6.CA39D4D0]
>
>
>
> [image: Description: Description: cid:image002.png at 01CD70CF.8782CD50]
> <https://twitter.com/ITROISolutions>[image: Description: Description:
> cid:image003.png at 01CD70CF.8782CD50]
> <http://www.linkedin.com/company/itroi-solutions> [image: Description:
> Description: cid:image004.png at 01CD70CF.8782CD50]
> <http://www.facebook.com/pages/IT-ROI-Solutions-CA-Clarity-Consultants/110571835703154>
>  [image: Description: Description: cid:image005.png at 01CD70CF.8782CD50]
> <http://www.youtube.com/user/ITROISolutions>
>
>
>
> _______________________________________________
> 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/20160613/3b047f6d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 2066 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160613/3b047f6d/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2814 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160613/3b047f6d/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2897 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160613/3b047f6d/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 3041 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160613/3b047f6d/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2435 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160613/3b047f6d/attachment-0004.png 


More information about the keycloak-user mailing list