What did Mary and William have to do to ascend the throne?

drive out Mary’s father, James II
agree to capitulate at Parliament’s whim
create and maintain a standing army out of royal coffers
agree to and sign the English Bill of Rights