The NSA is viewed as evil, but it must be remembered that it reports directly to the Director of National Intelligence, Daniel Coats, who is a member of President Trump's cabinet. Coats is responsible for line-item budget control of all intel agencies, and authorizes every activity. Thus, it is inconceivable that the President does not understand these activities.