Comparing
#8 with
#9
Content
[...]
That's all now you can use the following commands:
Yii::app()->user->first_name - property that returns name
Yii::app()->user->isAdmin() - function that returns admin status
And now you can add all the functions you want to WebUser component.
### Links
- [Chinese version](http://www.itkuaixun.com/bbs/thread-64-1-2.html)