PHP: imap_setacl - Manual

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

search for in the

imap_setflag_full imap_set_quota

Last updated: Fri, 26 Jan 2007

view this page in

# imap_setacl

(PHP 4 >= 4.1.0, PHP 5)

imap_setacl -- Sets the ACL for a giving mailbox

## Описание

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

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

## Список параметров

`imap_stream`

  An IMAP stream returned by imap_open().

`mailbox`

  The mailbox name, see imap_open() for more information

`id`

`rights`

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Примечания

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

## Смотрите также

imap_getacl()

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).`
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")`
add a note
imap_setflag_full imap_set_quota

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST