An employer has rights, obligations and a legitimate interest in collecting information about its employees, as long as it only collects information that is relevant to ensuring their ability to perform a given role. Therefore, your consent is not legally required for information to be collected about you.