get loggin user id in concrete 5 code example
Example: loginByUserID in conrete
$ui = UserInfo::getByUserName($username);
$u = $ui->getUserObject();
$userID = $u->getUserID();
User::loginByUserID($userID);
$ui = UserInfo::getByUserName($username);
$u = $ui->getUserObject();
$userID = $u->getUserID();
User::loginByUserID($userID);