We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

getDisplayUserName ??? | Forum

Gabriel Fonseca
Gabriel Fonseca Oct 31 '13

hello,


I'm using this code:


$userName = BOL_UserService::getInstance()->getDisplayName(OW::getUser()->getId());



But it returns me the full name.


Needed to return the username of the User.


how can i do this?



EDIT: Thanlks, solved.  $userName = BOL_UserService::getInstance()->getUserName($id);

The Forum post is edited by Gabriel Fonseca Oct 31 '13
ross Team
ross Nov 1 '13
Topic was moved from General Questions.