Well, I did some digging and just answered my own question so to whom it may concern:
PHP variable $userinfo is created and populated in include/func.user.php and is then passed to smarty on line 676 of cart.php:
Code:
$smarty->assign("userinfo",$userinfo);