stream_id is the stream returned from imap_open
mailbox is a mailbox name (without server name)
Example:
print_r(imap_getacl ($strea_id, 'user.joecool'));
Array
(
[asubfolder] => lrswipcda
[anothersubfolder] => lrswipcda
)
imap_getacl
(PHP 5)
imap_getacl — 与えられたメールボックスの ACL を取得する
説明
array imap_getacl
( resource $imap_stream
, string $mailbox
)
指定したメールボックスの ACL を取得します。
返り値
"folder" => "acl" 形式の連想配列を返します。
例
例1 imap_getacl() の例
<?php
print_r(imap_getacl($conn_id, 'user.joecool'));
?>
上の例の出力は、たとえば 以下のようになります。
Array
(
[asubfolder] => lrswipcda
[anothersubfolder] => lrswipcda
)
注意
この関数は、現在は c-client2000 以降のライブラリを使用しているユーザのみ利用可能です。
imap_getacl
info at obengelb dot de
13-Sep-2006 02:58
13-Sep-2006 02:58
