RogersRoland
8 years agoExpert
Textkey/Tag for Email Address
Currently we have IP address showing in our Profilecards using this code
<#if isAdmin> <li> <#assign userIP = rest("/users/id/"+user_id+"/settings/name/user.last_visit_ipaddress?restapi.response_style=view").value /> <span class="label">IP Address:</span> <span class="value">${userIP}</span> </li> </#if>
I'm looking to add a possible option to display the Email Address as well if Admin. What would be the coding I would need to add in, and/or what is the textkey for user Email address?
Thanks!