As title - if you run the GetMyPackages command, you get back a package data array but the values for diskspace and bandwidth quota are both 0 (DiskSpaceQuota & BandWidthQuota)
Is there an extra argument I need to send or is this a bug?
Hello,
esPackages.asmx GetMyPackages API call just accepts the input of userId.
I have checked and it appears to be an bug that it doesn't report back the bandwidth and diskspace correctly.
You can use the call GetPackageContext and look at the QuotasArray for the QuotaUsedValue on *DiskSpace to get the used value for the user. Do note that OS.Diskspace is generally the value for web and other providers like Exchange should have their own values.
Thanks,
Trevor Robinson
Thanks Trevor.
OS.Diskspace and OS.Bandwidth are the two quotas shown under the "System" quotas right?
That's correct
Thank you 🙂