- Member | 16
I am really begginer, so I'm sorry if my problem is somewhere solved, I haven't found this solution or explanation in manual.
I have login application, autheticator etc. When a user is authenticated ( $this->getUser()->login(…); ) I have saved his ID and I could use
<?php $id = $this->getUser()->getId(); ?>
and then work with it. What I need now is to have saved his username. Is there any method how to save it and work with $this->getUser() ? E.g. $this->getNick(); ?
I had an idea to use $this->storage;, but I don't know how to work with this variable.
Thanks for responds,