How keep woocommerce users separeted in multisite install and keep admins on network

I don’t know if is the best way to do this but aparently works well.

I override the users table adding one with an blog_id field as key.
Add an “wp_pre_insert_user_data” filter to set the blog_id field and change the user id to some like “blog_id000user_id” (100044 for example is from blog 1).

Override the core “get_user_by” function to another, calling a custom “get_data_by” functions instead of the wordpress user method. This new function search the user table by blog_id and allow the admins and the site clients to connect.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)