The university of Johannesburg said it is investigating a social media user who claimed to be a lecturer and boasted about failing South African students.