In the 1940s and ‘50s, designated police officers and university administrators were on the lookout for gay students and faculty.