Re: best way to generate a random unique id Unless you plan on a billion users, all methods described here are Plan A: UUID or GUID..