SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a 2010 SharePoint environment and have encountered a problem in the User Information list.

Previously a user logged in with username:


But his accountname has been changed to username:


The problem I'm facing now is that his Account name is not being updated in SharePoint. When he clicks My Settings and lands on the User Information page, it still shows his old login name.

I can view his - incorrect - User information on the page:


Does anyone know how I can force an update of his account name?

share|improve this question
up vote 4 down vote accepted

You can change the account by running the stsadm -o migrateuser command:

This will rename the userid in the UserInfo table in your content databases to the new userid.

If that doesn't work try looking at your user profile service application. Every hour a timer job runs that syncs user information from this service application to your content databases. The following article lists some common causes & resolutions that you can try:

share|improve this answer
Do you know what the parameter -ignoresidhistory does? – TempaC Jul 6 '12 at 7:49
That's useful if you want to replace a user with a completely different user or a user from another domain. This should not be necessary in your case. More info on the migrate user command at – Thomas Vochten Jul 6 '12 at 7:56
I executed the command: stsadm.exe -o migrateuser -oldlogin domain\jacksh -newlogin domain\jackshi and received the following notification: New user account does not have valid SID history. I'm going to let the user try and login first – TempaC Jul 6 '12 at 8:15
Your situation is described in this knowledge base article: // You can try running with ignoresidhistory, that shouldn't be a problem – Thomas Vochten Jul 6 '12 at 9:08
I'm afraid this command didn't solve my problem. The account name still has not been updated. When I try to run the command again, I receive the error "Object reference not set to an instance of an object". Do you have another way of trying to resolve this? – TempaC Jul 6 '12 at 12:08

In addition to merging the user profiles in Thomas Vochten's response using stsadm -o migrateuser and ensuring the user profile sync is running as mentioned by QuinnJohns, you will want to make sure that the content database's current status is set to online. If it is set to offline, the timer job that syncs the user information list will not run for those site collections.

share|improve this answer

You'll want to make sure that the user profile synchronization service is started/active.

share|improve this answer

Note that there's another "extreme" option that has worked for some people as described in this blog post. To summarize:

  1. Locate the user in the site collection at http://<SiteCollectionUrl>/<path>/_layouts/people.aspx?MembershipGroupId=0
  2. Click the link to "Delete user from site collection"
  3. Add the user into some SharePoint group in this same site collection

Warning!: If you do this, you are in fact removing SharePoint's memory of that user account -- so any place where you granted them permissions, etc. will all be forgotten.

(I include this answer for completion, not because I necessarily recommend it.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.