Get info about current user in Opencart
There is difference between customer and user. To get current user ID (admin, manager etc) do the following:
$this->session->data['user_id'];
I just found it out:
$this->customer->getFirstName();
$this->customer->getLastName();
$this->customer->getEmail();
$this->customer->getTelephone();
$this->customer->getFax();
and so on.
The source code (including the other methods available) is located in the system/library/customer.php
file.
You can use the methods just anywhere.
Hope this helps.