From Accessing and managing users | ArcGIS for Developers there is the example:
quota <SPAN class="operator token">=</SPAN> me<SPAN class="punctuation token">.</SPAN>storageQuota
used <SPAN class="operator token">=</SPAN> me<SPAN class="punctuation token">.</SPAN>storageUsage
pc_usage <SPAN class="operator token">=</SPAN> round<SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">(</SPAN>used <SPAN class="operator token">/</SPAN> quota<SPAN class="punctuation token">)</SPAN><SPAN class="operator token">*</SPAN><SPAN class="number token">100</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="number token">2</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"Usage: "</SPAN> <SPAN class="operator token">+</SPAN> str<SPAN class="punctuation token">(</SPAN>pc_usage<SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">+</SPAN> <SPAN class="string token">"%"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
what is the usage a percentage of? The users quota? The org quota? Where does one find these quotas, and where is that documented? Trying to unravel a storage problem, and needing to get into what each user is storing.
Regardless of what user is logged in, I always get the same percentage and total quota, which suggests the example above is incorrect, it is NOT returning users storage, it is only returning percentage of total quota used by the entire org.