Forum Discussion

mayank's avatar
12 years ago
Solved

how can i check login user id

 <#assign aUser=rest("/users/id/${user.id}").value/>
   <span>${aUser} </span>

 

 

 <#assign aUser=rest("/users/id/${user.id}").user/>
   <span>${aUser} </span>

 

Both not working...i want to fetch login user id in free marker language..

13 Replies

  • mayank's avatar
    mayank
    Ace
    12 years ago

    Not role....community groups...which appears in sidebar....

    like i have 2 group which i have created from community structure...

     

     

    and can you pleae tell how to use it inside hyperlink

     

    ${aUser.id}

  • mayank's avatar
    mayank
    Ace
    12 years ago

    just added with hyperlinks working.....
    can you please tell me how i can fetch community user groups of logged in user....