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);
        }
コード例 #2
0
 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;
     }
 }