imap_getacl
imap_getacl
Gets the ACL for a given mailbox
**imap_getacl** IMAP\Connection $imap string $mailbox
Gets the ACL for a given mailbox.
mailbox
The mailbox name, see for more
information
imap_open
Returns an associative array of "folder" => "acl" pairs, return.falseforfailure.
Voorbeeld: example
<?php
print_r(imap_getacl($imap, 'user.joecool'));
?>
Array
(
[asubfolder] => lrswipcda
[anothersubfolder] => lrswipcda
)
This function is currently only available to users of the c-client2000 or greater library.
imap_setacl