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
Last updated: Fri, 30 Oct 2009

view this page in

imap_setacl

(PHP 4 >= 4.0.7, PHP 5)

imap_setaclSetzen der ACL für ein Postfach

Beschreibung

bool imap_setacl ( resource $imap_stream , string $mailbox , string $id , string $rights )

Setzt die Zugriffsrechte für ein Postfach.

Parameter-Liste

imap_stream

Eine von imap_open() zurückgegebene IMAP-Verbindung.

mailbox

Der Name des Postfachs, siehe imap_open() für nähere Informationen.

id

Der Benutzer dessen Rechte geändert werden sollen.

rights

Die zu setzenden Rechte oder ein leerer String um alle Rechte zu entziehen.

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.

Anmerkungen

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

Siehe auch

  • imap_getacl() - Liste der Zugriffsrechte für ein Postfach bestimmen



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

imap_setflag_full> <imap_set_quota
Last updated: Fri, 30 Oct 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites