Is it bad practice to use a mongo ObjectId as a user's id?

Viewed 4078

Seeing as this value is unique and present for all users in a mongo database, are there any particular caveats to using this as a user identifier in a web application?

Particular issues I may be considering include if in the future the users need to be transferred.

1 Answers
Related