Geeks With Blogs

Lance's TextBox

RFC2086 defines a set of “standard“ rights for IMAP access control lists (ACL):

l          Lookup mailbox is visible to folder listing commands.
r Read mailbox can be selected, fetched, searched, and copied.
s Keep seen/unseen information is kept across sessions.
w Write flags other than seen and deleted can be stored.
i Insert mailbox can be appended and copied to.
p Post mail can be sent to the submission address for the mailbox.
c Create can create new sub-folders.
d Delete can be deleted, and messages marked as deleted can be expunged.
a Administer           can set access permissions.

With the IMAP component in IP*Works!, you can easily set such permissions for a particular user like so:

imap1.SetMailboxACL("username", "lr");

This example gives lookup and read permissions (lr) to user "lance".

Posted on Thursday, May 18, 2006 12:51 PM Programming | Back to top

Comments on this post: IMAP: Programmatically Managing the Access Control List

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Lance Robinson | Powered by: