Hi kindly post or reference a link where we can see code to limit user account to fix amount of data storage.
We need to set that user are limited to 2Gb of storage.
There is currently no way to automatically implement a limit on storage for a single user baked into Kinvey, though it is an interesting idea. There may be ways to go about doing this that I'm not thinking of at this time.
Damien can we read how much storage has a user?
We don't calculate storage per user, we calculate how much each back-end is using and limit our users based on that. There wouldn't be a way for us to offer you this capability directly.