This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Discussions » Fetching User Objects with PHP - part 1

Friday 24 September 2010 4:57:12 pm - 1 reply

» Read full tutorial


At the end of this tutorial you should be comfortable with exporting user information from PHP scripts.

Friday 01 October 2010 1:53:20 pm

I think there is a small error in the example for fetching the current logged in user.
The current user is fetch with the following method:

$user = eZUser::currentUser();
$user = $users['name'];
$cli->output( 'Username: ' . $user->attribute( 'login' ) ); 
$cli->output( 'Email: ' . $user->attribute( 'email' ) )

Modified on Friday 01 October 2010 2:02:12 pm by Nicolas Pastorino


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from