You can achieve by creating a new product attribute. let say
admin_user_id. now you need to feel this value on product saving from backend by using Magento events. If you are not familiar with Magento events and observer please read this from the Magento DevDocs.
In your case, you should use
catalog_product_save_before event. this event is executing before saving the product. In this event, you will get a product object so you can use this object and set the current admin user Id(you can get it from current admin session). For example,
<observer name="assign_admin_user_id_on_save" instance="Example\Sample\Observer\AssignAdminIdOnSave"/>
Now you need to create an observer class which should implement
use Magento\Backend\Model\Auth\Session as adminSession;
class AssignAdminIdOnSave implements ObserverInterface
* @var adminSession
* AssignAdminIdOnSave constructor.
* @param adminSession $adminSession
public function __construct(
$this->adminSession = $adminSession;
public function execute(Observer $observer)
$product = $observer->getProduct();
Please note that this will work only when you are creating/saving the product from the backend.
If you also want admin user Id on product import then you need to create another observer for
catalog_product_save_before. I already wrote the answer for this so you can check from this link