Perhaps federal law would apply to you? Both impersonating a member of the military and wearing the uniform of the US military with the intent to deceive are federal crimes.
http://www.law.cornell.edu/uscode/text/18/912
http://uscode.house.gov/download/pls/10C45.txt
If it does apply to me, then does it not also apply to Obama?