Unique code for user to register

What if you send your customer an invite, and maybe link him with a special group?