It's more like row level security control. You have to set up a security mapping somewhere in database with user name and company ID/Code and then filter data dynamically with username(). Take a look at this post. How to set up your Database for Row Level Security in Tableau | Tableau and Behold!
Thank you very much!