IMAP_SETACL(3) 1 IMAP_SETACL(3)
imap_setacl - Sets the ACL for a given mailbox
SYNOPSIS
bool imap_setacl (resource $imap_stream, string $mailbox, string $id, string $rights)
DESCRIPTION
Sets the ACL for a giving mailbox.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $mailbox
- The mailbox name, see imap_open(3) for more information
o $id
- The user to give the rights to.
o $rights
- The rights to give to the user. Passing an empty string will delete acl.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
This function is currently only available to users of the c-client2000 or greater library.
SEE ALSO
imap_getacl(3).
PHP Documentation Group IMAP_SETACL(3)