First of all, any time there is an accusation of an offence, a service offence or any other type of offence, including sexual misconduct, it's investigated either by the chain of command itself, or in sensitive cases and important cases by the national investigation service. Once the investigation is complete, they then look at the evidence and determine if charges are to be laid. That's in consultation with legal officers who work for me at local bases and wings.
Evidence of meeting #27 for National Defence in the 41st Parliament, 2nd Session. (The original version is on Parliament’s site, as are the minutes.) The winning word was harassment.
A video is available from Parliament.