"That's all right, all of you know who I am," the president joked to laughter from the audience when he realized what had happened.
The president was speaking at Fortune Magazine's "Most Powerful Women Summit" Tuesday night at Carnegie Mellon Auditorium.
The Associated Press contributed to this report.