Hi,

I would like to generate an overview of all user accounts created at our 
ownCloud server with following values:

username - quota - used space


quota:
SELECT configvalue FROM <db>.oc_preferences where configkey='quota' and 
userid='<accountname>';


If there is a hit, I use it, otherwise the default value is set for this user:
SELECT configvalue FROM <db>.oc_appconfig where appid='files' and 
configkey='default_quota';


But where can I find the information about used space of the user accounts?

Thanks!
_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to