How do exchanges assign deposit addresses to users?

Basically I'm trying to achieve the equivalent of Bitcoin RPC's listreceivedbyaddress. I understand that there's no such RPC method on Ethereum due to the design.

After spending a significant amount of time to explore workarounds on stack exchange and github issues, I still don't have anything solid.

How do exchanges solve this?

Submitted October 06, 2018 at 03:55PM }
via reddit