Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
imap_getacl
(PHP 5)
imap_getacl — Gets the ACL for a given mailbox
Описание
array imap_getacl ( resource $imap_stream , string $mailbox )
Gets the ACL for a given mailbox.
Список параметров
- imap_stream
-
An IMAP stream returned by imap_open().
- mailbox
-
The mailbox name, see imap_open() for more information
Возвращаемые значения
Returns an associative array of "folder" => "acl" pairs.
Примеры
Пример #1 imap_getacl() example
<?php
print_r(imap_getacl($conn_id, 'user.joecool'));
?>
Результатом выполнения данного примера будет что-то подобное:
Array ( [asubfolder] => lrswipcda [anothersubfolder] => lrswipcda )
Примечания
This function is currently only available to users of the c-client2000 or greater library.
Смотрите также