How do I find out the IMAP rights I have on a folder?

John Zukowski

This is specific to the IMAP provider. For Sun's IMAP provider this is done by casting the Folder to a com.sun.mail.imap.IMAPFolder object. To find the rights for the currently authenticated user, use myRights(), to find the rights for another object/user, use listRights().

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact