One part of that law makes it illegal for officials, including the president, to ???solicit ??? a donation of money or other thing of value in connection with a Federal, State, or local election, while in any room or building occupied in the discharge of official duties.???