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

search for in the

imap_setflag_full> <imap_set_quota
[edit] Last updated: Fri, 25 May 2012

view this page in

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_getacl() - 与えられたメールボックスの ACL を取得する



add a note add a note User Contributed Notes imap_setacl
panayotis at yellownetroad dot com 06-Oct-2002 04:34
I noticed that using:
imap_setacl ($conn, $mbox, $userid, "")
will act like:
"deleteaclmailbox $mbox $userid"  (remove the ACL on mailbox for userid).

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