Forums / Developer / SOLVED. Getting the userid of the currently active user

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

SOLVED. Getting the userid of the currently active user

Author Message

Gabriel Ambuehl

Tuesday 29 April 2003 6:26:44 am

How can I get the user id of the currently active user in a module?

Visit http://triligon.org

Gabriel Ambuehl

Tuesday 29 April 2003 12:20:13 pm

I must have been somehow blind or something.

eZUser::currentUserID() will give you that data, of course.

Visit http://triligon.org