I just normally change their name on their Profile page.
Kind Regards
Kind Regards
Thanks for the input. Our user accounts are created automatically, and now the user has 2 records. Is there a way to merge records?
Please see:
Do you have a development/test version of your production moodle that contains users?
Truth in sharing ... I've not had first hand experience with the plugin linked.
Best of luck!
'SoS', Ken
I have worked great for many versions and then we got goofy training records. We removed the plugin and no longer use it.
Kind Regards
Kind Regards
We use LDAP for staff/student accounts, so if the username changes, this can result in an extra account.
What we do is (as long as they haven't done anything significant with the new account) -- suspend the new account, change it to manual authentication, which then allows updating the username (ie _deleted).
Then in the original account swap to manual authentication, save, update the username to the new username, save, then swap back to LDAP authentication and save again.
Then the new username is associated with the old userid, and everything should be fine. The firstname/lastname should update automatically (we have this set in our LDAP settings).
The contortions are necessary since various fields are locked when using LDAP authentication.
What we do is (as long as they haven't done anything significant with the new account) -- suspend the new account, change it to manual authentication, which then allows updating the username (ie _deleted).
Then in the original account swap to manual authentication, save, update the username to the new username, save, then swap back to LDAP authentication and save again.
Then the new username is associated with the old userid, and everything should be fine. The firstname/lastname should update automatically (we have this set in our LDAP settings).
The contortions are necessary since various fields are locked when using LDAP authentication.
Not sure if this is helpful but here is a merge user acount plugin that works well.
https://moodle.org/plugins/tool_mergeusers
https://moodle.org/plugins/tool_mergeusers
This is pretty similar to how we do it...
Ideally we just perform a DB update against the user record to change to username before they login with their new username...
Ideally we just perform a DB update against the user record to change to username before they login with their new username...