We've got an asp.net mvc website that is currently in a private beta state. As such we are sending out invite codes that must be supplied as part of the registration process for registration to succeed. We'd like to reduce the bar of entry such that users only have to supply the code to gain access rather than going through a more laborious registration process. We do have anonymousIdentification enabled, and as such, I assume that these users would remain anonymous.
Is it possible to somehow differentiate between a plain-old anonymous user and one that has supplied the correct code? For instance, can anonymous users be added to a role? Any other suggestions?