Back

What happends to the ID of the user after its deleted

  • 0
  • Self Hosted
  • Accounts
  • Web
Hexi
29 Aug, 2023, 08:19

I was wondering what happends to the ID of the user after its deleted. Does the ID get whitelisted or can someone else obtain it with pure luck? And if so how hard would it be to get it with pure luck

TL;DR
The user is asking what happens to a user's ID after it is deleted. They are wondering if the ID gets whitelisted or if someone else can obtain it with luck. The response explains that IDs are randomly generated and the chance of collision is extremely low. Therefore, it is highly unlikely for someone else to obtain a deleted ID through luck. Solution: No specific solution provided.
Joshi
29 Aug, 2023, 08:27

The chance of colission is practically zero

joeyouss
29 Aug, 2023, 10:09

Actually, IDs are randomly created. So if you are using unique() to make IDs, chances are very very very rare for this to happen and even if you are creating the ID yourself, this is highly unlikely

Kenny
29 Aug, 2023, 13:09

Here is how those unqiue values are calculated.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more