<div dir="ltr">You can get the user object from session.users().getUserById(..), which will give you the email.</div><div class="gmail_extra"><br><div class="gmail_quote">On 11 June 2016 at 08:58, Jairo Henao <span dir="ltr"><<a href="mailto:jahenao@itroisolutions.com" target="_blank">jahenao@itroisolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello community:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have a listener that is pending when an administrator deletes a user. How I can get the user email?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Apparently I can only get his ID, but I need his email to delete it in HubSpot.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">There is something like a pre-delete event?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1f497d"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">Jairo Henao Rojas<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">IT ROI Solutions<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">Software Architect
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">Mobile : <a href="tel:314-738-6032" value="+13147386032" target="_blank">314-738-6032</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f4e79">Office Colombia: + <a href="tel:%28571%29%20381-9185" value="+15713819185" target="_blank">(571) 381-9185</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f4e79">Office Mexico: <a href="tel:%2B%2052-81-4624-4468" value="+528146244468" target="_blank">+ 52-81-4624-4468</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f4e79">Office Chile: + 5622-582-2257<br>
Office USA: <a href="tel:954-518-3330" value="+19545183330" target="_blank">954-518-3330</a><u><u></u><u></u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f4e79">Office Canada: <a href="tel:604-998-2280" value="+16049982280" target="_blank">604-998-2280</a></span><span lang="es-419" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f4e79"><u></u><u></u></span></p>
<p class="MsoNormal"><u><span lang="es-419" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f497d"><a href="mailto:jahenao@itroisolutions.com" target="_blank"><span style="color:#0563c1">jahenao</span><span lang="ES-CO" style="color:#0563c1">@itroisolution</span><span style="color:#0563c1">s</span><span lang="ES-CO" style="color:#0563c1">.com</span></a></span></u><u><span lang="ES-CO" style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f497d"><u></u><u></u></span></u></p>
<p class="MsoNormal"><span lang="ES-CO" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><img border="0" width="103" height="22" src="cid:image001.png@01D1C383.045C3960" alt="cid:image001.png@01CFACA6.CA39D4D0"></span><span lang="ES-CO" style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="ES-CO" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><a href="https://twitter.com/ITROISolutions" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="32" height="32" src="cid:image002.png@01D1C383.045C3960" alt="Description: Description: cid:image002.png@01CD70CF.8782CD50"></span></a><a href="http://www.linkedin.com/company/itroi-solutions" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="32" height="32" src="cid:image003.png@01D1C383.045C3960" alt="Description: Description: cid:image003.png@01CD70CF.8782CD50"></span></a><span style="color:#1f497d"> </span><a href="http://www.facebook.com/pages/IT-ROI-Solutions-CA-Clarity-Consultants/110571835703154" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="32" height="32" src="cid:image004.png@01D1C383.045C3960" alt="Description: Description: cid:image004.png@01CD70CF.8782CD50"></span></a><span style="color:#1f497d"> </span><a href="http://www.youtube.com/user/ITROISolutions" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="32" height="32" src="cid:image005.png@01D1C383.045C3960" alt="Description: Description: cid:image005.png@01CD70CF.8782CD50"></span></a><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>