i get the username with this
$id = $message->senderId;$userName = BOL_UserService::getInstance()->getUserName($id);
but whats the code for getting the role?
i get the username with this
$id = $message->senderId;$userName = BOL_UserService::getInstance()->getUserName($id);
but whats the code for getting the role?