For a non-admin user version of this function, please see the imap_get_quotaroot() function of PHP.
NOTE: For this function to work, the mail stream is required to be opened as the mail-admin user. For a non-admin user version of this function, please see the imap_get_quotaroot() function of PHP.