Hi,
I'm not an expert of RSForm but HikaMarket have some tools which could help you.
To check if the current user is logged as a vendor (function returns "true" or "false")
hikamarket::loginVendor()
To get the current vendor id
hikamarket::loadVendor(false);
To check if the current user have the right to edit products (function returns "true" or "false")
hikamarket::acl('product_edit')
To check if a product is associated with a current logged vendor (function returns "true" or "false")
hikamarket::isVendorProduct($product_id)
Hope it will help you.
Regards,