Provides data for DeleteFolderACL event.
예제 #1
0
        internal IMAP_DELETEACL_eArgs OnDeleteFolderACL(IMAP_Session session, string folderName, string userName)
        {
            IMAP_DELETEACL_eArgs eArgs = new IMAP_DELETEACL_eArgs(session, folderName, userName);

            if (this.DeleteFolderACL != null)
            {
                this.DeleteFolderACL(session, eArgs);
            }

            return(eArgs);
        }
 private void IMAP_Server_DeleteFolderACL(object sender,IMAP_DELETEACL_eArgs e)
 {
     try{
         m_pApi.DeleteFolderACL(e.Session.UserName,e.Session.UserName,e.Folder,e.UserName);
     }
     catch(Exception x){
         e.ErrorText = x.Message;
     }
 }