How to change user domain and login info in SharePoint

10. June 2009

When you change login info or domain of the SharePoint users, like for example, adding a new domain or updating old domain for some reason. Problem is that after this change, old users data would not be accessible because it was refferenced by using outdated domain or login info.

Fear not, as the solution is pretty simple. Just use following STSADM based command to change login info.

stsadm -o migrateuser -oldlogin <domain\name> -newlogin <domain\name>

If you are more adventurous, you can also see "UserInfo" table in the SharePoint content db (after taking backup) and update domain of the users there.

Beware, do that change at your own risk :-)

SharePoint

Comments

3/29/2010 7:33:37 PM #
Thanks for the great post. It reminds me that I have to bring more structure in to my blogging. Your blog is very interesting. Please let me know how to go for your rss blog.
3/29/2010 10:47:35 PM #
Thanks for the great post. It reminds me that I have to bring more structure in to my blogging. Your blog is very interesting. Please let me know how to go for your rss blog.
4/28/2010 5:36:03 AM #
can anyone tell me how to get the little avatars to display in my comments section? thanx!
5/25/2010 11:43:27 AM #
I am so new to all this online, the more I read the more I realize there's so much more for me to learn, thanks for the awesome post I will be back! How to change user domain and login info in SharePoint was a wonderful read.
6/17/2010 5:23:11 PM #
Is it ok if I want to post this info on one amongst my own blogs? I suppose my readers would appreciate the info.

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading