SetMailboxACL Method
Sets mailbox access control rights for a specific user.
Object Oriented Interface
public function doSetMailboxACL($user, $rights);
Procedural Interface
ipworks_imap_do_setmailboxacl($res, $user, $rights);
Remarks
This method changes the access control list for the mailbox specified in the Mailbox property so that User is granted the permissions specified in Rights.
Rights is a string containing an optional plus ("+") or minus ("-") prefix, followed by zero or more rights characters. If the string starts with a plus, the rights are added to any existing rights for the identifier. If the string starts with a minus, the rights are removed from any existing rights for the identifier. If the string does not start with a plus or minus, the rights replace any existing rights for the identifier.
Standard rights include:
l | Lookup (visible to be listed) |
r | Read (Can be selected, fetched, searched, and copied) |
s | Keep seen/unseen information across sessions |
w | Write (Store flags other than SEEN and DELETED) |
i | Insert (Can be appended, and copied into) |
p | Post (Can send mail to submission address for mailbox) |
c | Create (Can create new sub-mailboxes) |
d | Delete (Store DELETED flag, perform EXPUNGE) |
a | Administer (Set access permissions) |