Exposing the Current Users Email Address

  • 23 July 2014
  • 1 reply
  • 28 views

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


This topic has been closed for comments

1 reply

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 %}