(a) A member who has 5 years of credited service shall have a vested right to a pension.
(b) An inactive member's vested right shall be forfeited upon an application for a refund of the member's accumulated contributions and cancellation of membership.