In a secret ballot on Wednesday, the UN General Assembly voted for Iran to join the Committee for Programme and Coordination.