\Bitrix\Sale\BasketBase::getFUserId();
Method returns shopping cart owner ID (buyer). Non-static method.
No parameters