When you export user details via the "Reports" in Mahara, the column for the remote username / Username for external authentication is called "remotename". However, if you want to use the resulting CSV file to update user details, you'll have to rename that column to "remoteuser" first. It would be better if the column was called "remoteuser" to start with in the export.
To replicate:
1. Have a couple of users on your Mahara site.
2. Go to Admin -> User search and click the check boxes.
3. Click the "Get reports for selected users" button.
4. Download the data on the next screen.
Expected result: The column storing the remote username is called "remoteuser".
Actual result: It's called "remotename".
Patch for "master" branch: https:/ /reviews. mahara. org/8897