Colin Houghton, 54, of Tranent, was jailed for 21 months at Kirkcaldy Sheriff Court after pleading guilty to sexually assaulting two women.
The offences took place in Edinburgh in April 2015 and Dunfermline in March 2016. The sheriff described the offences as breaches of trust and said Houghton persisted in one assault after the woman made clear she did not want sexual contact.
Houghton was made subject to sex offender notification requirements for 10 years.