Answered

Exposing the Current Users Email Address

Hi Team,


Is it possible in your portal customisation or solutions page to expose the current logged in users email address?


We are wanting to link to another area of our website from the portal and send with that request the users email address to identify them. I have tried {{ticket.requester.email}} and {{ticket.from_email}} placecards in the portal customisation of the Home Page but it does not seem to work. 


Your help would be greatly appreciated!


Regards,

Jutsin


Best Answer

Hey Justin,


Please use the placeholder {{portal.user.email}} to expose the logged in users email address. Now you can set up the loop as shown below.


{% if portal.has_user_signed_in %}

Desired content along with the placeholder {{ portal.user.email }}

{% endif %}


1 Comment

Answer

Hey Justin,


Please use the placeholder {{portal.user.email}} to expose the logged in users email address. Now you can set up the loop as shown below.


{% if portal.has_user_signed_in %}

Desired content along with the placeholder {{ portal.user.email }}

{% endif %}