I installed the CAS module on a Drupal 8 site, and it is working fine. For new users, it auto-registers the user with cas_username, but I would like to import the cas_username manually for the existing Drupal 8 user.
I also tried importing users in CSV format; I have been able to add the $account(row,row1), but for the CAS username import, i don't know how to import it, and in which field is stored.
'uid' => NULL, 'name' => $username, 'field_first_name' => row, 'field_last_name' => $row, 'pass' => $username, 'mail' => $row, 'status' => 1, 'created' => REQUEST_TIME, 'roles' => array_values($config['roles']),
I tried Managing CAS username; the suggestion given is for Drupal 7, but the same method doesn't work for Drupal 8.
How do I import the CAS username in CSV?