 He cited the law as well as many others that preceded it, attacking both families and companies. The California law prohibits school districts from requiring employees to disclose information about a student's sexual orientation or gender identity without student's consent.