Barack Obama actually said...
I signed an Executive Order in 2014 that prohibits discrimination against Federal employees and contractors on the basis of sexual orientation or gender identity.
Context
Proclamation 9457—Lesbian
05/30/2016