Jahia Template Forum > not able to get...

0 (0 Good)
0 (0 Bad)

not able to get email id and first name of current user

by  peters »  2011/06/07 20:05

HI All

I have integrated my jahia with ldap , but i am able to get the first name ,last name and email id of current user.

Any help on this will be highly appreciated

  (peters)

Number of messages  35
Registration date
0 (0 Good)
0 (0 Bad)

Re: not able to get email id and first name of current user

by  pap@commaro.com »  2011/06/07 20:05

Hello,

can you try with

${currentUser.userProperties.properties.firstname}
${currentUser.userProperties.properties.lastname}
${currentUser.userProperties.properties.email}

Regards,
Benjamin

Benjamin Papez (pap@commaro.com)

Number of messages  220
Registration date
0 (0 Good)
0 (0 Bad)

Re: not able to get email id and first name of current user

by  peters »  2011/06/07 20:05

Thanks Benjamin .its working

  (peters)

Number of messages  35
Registration date
0 (0 Good)
0 (0 Bad)

current e-mail id

by  hi »  2016/02/10 12:46

I want a e-mailid for that i want current email id i want help for making both

 

hi
Number of messages  1
Not registered
0 (0 Good)
0 (0 Bad)

Re: not able to get email id and first name of current user

by  test »  2016/02/19 11:01

ok

test
Number of messages  4
Not registered
0 (0 Good)
0 (0 Bad)

Re: Re: not able to get email id and first name of current user

by  test »  2016/02/19 11:02

ok

test
Number of messages  4
Not registered
0 (0 Good)
0 (0 Bad)

Unable to display properties of node

by  Unable to display properties of node »  2017/08/01 04:29

Hey,
 

I have created an employee primary node with first name and last name as it's properties. I have written the following jsp code too

${currentNode.properties['last'].string}
${currentNode.properties['firstname'].string}

It displays a message saying 'Node created' but the properties are not displayed on my web page.
Any help would be appreciated.

 

Unable to display properties of node
Number of messages  1
Not registered
0 (0 Good)
0 (0 Bad)

Re: Unable to display properties of node

by  shyrkov »  2017/08/01 12:52

Would you perhaps provide more details, please, about the code that creates the node and the one, that dislpays it?

  • Re: Unable to display properties of node
    2017/08/01 12:52

    shyrkov <p>Would you perhaps provide more details, please, about the code that creates the node and the one, that dislpays it?</p>

  • Number of messages  407
    Registration date Aug 1, 2017
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page