I am trying to script a mass update of usernames (logins) for some of my iMIS records. They are quite a number of them (over 40,000 records). Is it as straightforward as running an update script to update the userid column on usermain table and username column on the aspnet_Users table?
I have tried this on my test environment and iMIS seems to lose the user record after this update. When I try to update anything on the user credentials page and save, I get the error message "Error: The user was not found".
Can anyone help please?
thanks,
Odoro
Additional tables to update
There are additional tables to update, since some parts of the system still refer to the non-.Net tables:
For the record, the UserMain.ContactMaster column is what ties it back to the Name and Name_Security tables (by ID). The only association in Users is with the UserId column matching. Note that not every row in UserMain will have an associated row present in Users, or in Name_Security, but where such a row does exist, you'll have to make the associated update there as well.