Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: imap_setacl - Manual
[go: Go Back, main page]

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

search for in the

imap_setflag_full" width="11" height="7"/> <imap_set_quota
Last updated: Thu, 31 May 2007

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 )

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

imap_stream

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

mailbox

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

id

rights

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

注意

この関数は、現在 c-client2000 以降のユーザのみ使用可能です。

参考

imap_getacl()



add a note add a note User Contributed Notes
imap_setacl
panayotis at yellownetroad dot com
07-Oct-2002 08:34
I noticed that using:
imap_setacl ($conn, $mbox, $userid, "")
will act like:
"deleteaclmailbox $mbox $userid"  (remove the ACL on mailbox for userid).
masneyb at seul dot org
28-Jun-2002 02:11
stream_id is the stream returned from imap_open
id is the user to give the rights to
rights is the rights to give to that user

So if I want to give user admin full access to my entire mailbox, I could run

imap_setacl ($conn, "user.masneyb", "admin", "lrswipcda")

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