Fork me on GitHub

Retrieving User Session variable  Bottom

  • Hi all,

    I'm writing some user dynamic on a module and I need to know what variable is used to store the current logged in user ID. i.e I have a list of logged in users and according to their logged in status a particular item will get displayed to them and not all the other users in the list.

    Thanks.
  • Code

    pnUserGetVar('uid')


    or

    Code

    pnSessionGetVar('uid')


    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Thank you

This list is based on users active over the last 60 minutes.