asp.net users with same username

Hi,
I am writing an application that allows multiple companies to use the application, I was planning on using the Applications table to hold the company names and so allow for example, two seperate companies to have users with the same user name, this would also allow me to use the multiple built in membership classes. But I just found this on the microsoft site, so I am presuming this is not a good idea. Is there an alternative to this?

Caution
Because a single default membership provider instance is used for all of the requests served by an HttpApplication object, you can have multiple requests executing concurrently and attempting to set the ApplicationName property value. The ApplicationName property is not thread safe for multiple writes, and changing the ApplicationName property value can result in unexpected behavior for multiple users of an application. We recommend that you avoid writing code that allows users to set the ApplicationName property, unless you must. An example of an application where setting the ApplicationName property may be required is an administrative application that manages membership data for multiple applications. Such an application should be a single-user application and not a Web application.

It appears I will have to create a provider for each section to reflect the company in the web config like so...
http://www.dotnetmonster.com/Uwe/Forum.aspx/asp-net-security/3911/Membership-ApplicationName-and-thread-safety

I don't really think that should affect you. It is simply warning about changing an Applications name, rather than simply using multiple applications. Changing the name isn't really something you should need to do in this scenario.

I have a seperate company details table that holds a general company ID number, when a user logs in, they have to enter the company id number, their username and password. A class then returns the applicationID which if correct can be used to authenticate the users in the membership table.

Featured Post

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Sometimes in DotNetNuke module development you want to swap controls within the same module definition. In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections. To get around this you need t…

Introduction
This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks.
Background
I had to provide a way for user…