Forum Discussion

mayank's avatar
11 years ago

Set auto-login and cookie options

How to fetch login user id in free markup language.....

 

 

 

 

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)

    Hi,

     

    not sure what the question is - title and body of the message are a bit different.

     

    For the username (login id), have a look at the User context object.

     

    ${user.login}

     

    In general - I think this page gives a good overview of the various context objects that we provide in freemarker, it will likely give you good ideas on how to proceed.

     

    Kind Regards,