imap_getacl

(PHP 5)

imap_getaclGets the ACL for a given mailbox

Описание

array imap_getacl ( resource $imap_stream , string $mailbox )

Gets the ACL for a given mailbox.

Список параметров

imap_stream

Поток IMAP, полученный из 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.

Смотрите также


Участник рейтинга Тэглайн 2010