Forums / Developer / How to retrieve User name ?

"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".

How to retrieve User name ?

Author Message

Vincent Fourastié

Thursday 18 August 2005 7:56:26 am

For an extension, i need to retrieve data from current user.

I do this :

$currentUser = &eZUser::currentUser();

But which methods should I use to retrieve data ? (name, login or email).