sentence1: First, election laws bar the solicitation of money (by both employees and nonemployees) in all federal office buildings --the White House included.
sentence2: You can definitely solicit money while you're in the White House.