When a player has registered on the server, I need to send a message to players with the "Manager" permission and ops that this player has logged on to the server for the first time.
You can use $player->hasPermission("name.of.the.permission") to see if someone has a specific permission.