Authentication

Discussion in 'Subrion CMS Plugins Discussion' started by WalterSteenvoorden, Jun 1, 2017.

  1. WalterSteenvoorden

    WalterSteenvoorden New Member

    How do you retrieve user data from the logged in member when working in a module?

    I'm developing a learning/test/quiz module and would like to use the members/usergroups to enable acces, store quiz/test results and manage groups.
  2. WalterSteenvoorden

    WalterSteenvoorden New Member

    i found it!


    iaUsers is the class, ->getIdentity()->id = id eg. 102
    ->getIdentity()->username = username eg. Jdevries01
    ->getIdentity()->fullrname = fullname eg. Jan de Vries
    ->getIdentity()->email = email eg. jan.de.vries@hotmail.com

Share This Page