1
TheFinni
How can I get the user's group either in a template or in custom php?
  • 2005/9/8 0:16

  • TheFinni

  • Just popping in

  • Posts: 75

  • Since: 2003/11/25


I'm trying to customize a module to show certain information according to what group the user belongs to. How can I do this?

For instance, I know how to get the user's username by:

$xoopsUser->getVar("uname", "E");

Is there a similar way for me to call the user's groupname?

Thank you!