use of com.zimbra.cs.account.soap.SoapProvisioning.QuotaUsage in project zm-mailbox by Zimbra.
the class ProvUtil method doGetQuotaUsage.
private void doGetQuotaUsage(String[] args) throws ServiceException {
if (!(prov instanceof SoapProvisioning)) {
throwSoapOnly();
}
SoapProvisioning sp = (SoapProvisioning) prov;
List<QuotaUsage> result = sp.getQuotaUsage(args[1]);
for (QuotaUsage u : result) {
console.printf("%s %d %d\n", u.getName(), u.getLimit(), u.getUsed());
}
}
Aggregations