Custom User Provider where username is not unique

I’m trying to create a custom user provider to access users in out database but it doesn’t seem to fit the model the code is looking for.
To lookup an individual by username requires both a username and companyId. Is there a way to handle this scenario?

Thanks
Charlie