integer public static \Bitrix\Sale\Fuser::getId( boolean $skipCreate = false );
Method returns buyer ID. Static method.