imap_setacl

(PHP 4 >= 4.1.0, PHP 5)

imap_setacl --  Sets the ACL for a giving mailbox

Description

bool imap_setacl ( resource stream_id, string mailbox, string id, string rights )

Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

This function is currently only available to users of the c-client2000 or greater library.

See also imap_getacl().



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).
masneyb at seul dot org
27-Jun-2002 10: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")

<imap_set_quotaimap_setflag_full>
 Last updated: Tue, 15 Nov 2005