Exemple #1
0
        public void GetAttachment(OCL.User AccessingUser, int[] AttachmentIds, string sDestination, bool ShowProgress)
        {
            ///Possible To Do: Add a Security Check to see if Accessing User has privilege
            ///		   to download attachment.  As of today. Anyone with the ability to view
            ///		   a Note can get download its attachments.
            ///		   The reasong to have OCL.User AccessingUser is so that if this feature gets
            ///		   implemented the function will keep working just the same in legacy code.

            OCL.Functions F = new OCL.Functions();
            //OCL.Recording R = F.GetRecording(this.RecordingID);
            F.GetNoteAttachment(AttachmentIds,sDestination,ShowProgress);
        }