A United Nations envoy said Saturday that President Bashar al-Assad of Syria had agreed to carry out a Security Council resolution calling for a complete Syrian withdrawal from Lebanon , and offered to set a timetable for the pullout as well .