PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_getmailboxes> <imap_get_quotaroot
Last updated: Fri, 30 Jan 2009

view this page in

imap_getacl

(PHP 5)

imap_getacl与えられたメールボックスの ACL を取得する

説明

array imap_getacl ( resource $imap_stream , string $mailbox )

指定したメールボックスの ACL を取得します。

パラメータ

imap_stream

imap_open() が返す IMAP ストリーム。

mailbox

メールボックス名。詳細は imap_open() を参照ください。

返り値

"folder" => "acl" 形式の連想配列を返します。

例1 imap_getacl() の例

<?php

print_r
(imap_getacl($conn_id'user.joecool'));

?>

上の例の出力は、たとえば 以下のようになります。

Array
(
    [asubfolder] => lrswipcda
    [anothersubfolder] => lrswipcda
)

注意

この関数は、現在は c-client2000 以降のライブラリを使用しているユーザのみ利用可能です。

参考

  • imap_setacl() - 指定したメールボックスの ACL を設定する



add a note add a note User Contributed Notes
imap_getacl
info at obengelb dot de
13-Sep-2006 02:58
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_getmailboxes> <imap_get_quotaroot
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites