I noticed that using:
imap_setacl ($conn, $mbox, $userid, "")
will act like:
"deleteaclmailbox $mbox $userid" (remove the ACL on mailbox for userid).
imap_setacl
(PHP 4 >= 4.0.7, PHP 5)
imap_setacl — 指定したメールボックスの ACL を設定する
説明
bool imap_setacl
( resource $imap_stream
, string $mailbox
, string $id
, string $rights
)
指定したメールボックスの ACL を設定します。
パラメータ
- imap_stream
-
imap_open() が返す IMAP ストリーム。
- mailbox
-
メールボックス名。詳細は imap_open() を参照ください。
- id
-
権限を付与するユーザ。
- rights
-
そのユーザに付与する権限。空文字列を渡すと、acl を削除します。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
注意
この関数は、現在 c-client2000 以降のユーザのみ使用可能です。
imap_setacl
panayotis at yellownetroad dot com
06-Oct-2002 11:34
06-Oct-2002 11:34
