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

search for in the

imap_getmailboxes> <imap_get_quotaroot
[edit] Last updated: Fri, 24 May 2013

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 - [1 notes]
up
0
info at obengelb dot de
6 years ago
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
)

 
show source | credits | sitemap | contact | advertising | mirror sites