Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In SharePoint 2010, how do you change users' names and email addresses when you don't have Active Directory - when the accounts you are using are just local user accounts?

share|improve this question
    
Have the same issue. I agree with the original poster. Looks like there just is no way to edit and add a email address for a local user no matter what you do. The Set -SPUser command in PowerShell just generates a ">>" with a flashing cursur when you hit return. –  user12883 Nov 7 '12 at 19:52

5 Answers 5

My theory is that you can only edit that for your users are coming from an Active Directory. But maybe there is something else going on.

WRONG

You can set username and email using this command from PowerShell

Set-SPUser -Identity 'yourmachine\Roberto' -DisplayName 'Roberto' -Email 'robertosljunior@yahoo.com.br' -Web http://yourmachine

share|improve this answer
1  
Dang, that seems too easy! :D Note that if you have many site collections you may need to make this change for each one (give the site collection URL in the -web option). –  ewall Mar 6 '13 at 23:35

Since you are using local accounts instead of domain accounts, I am assuming that you have access to the server.

I would use PowerShell to accomplish the user managements tasks.

Move-SPUser is the command you would use to change user names : http://technet.microsoft.com/en-us/library/ff607729.aspx

A couple of notes:

  • Even though you are using local accounts, the cmdlet still requires a full name. Instead of using domain\username use servername\username where servername is the NETBIOS name of the machine you have installed SP on

  • You will likely need to use the IgnoreSID flag since you are using local accounts and do not want to query Active Directory

A sample command (I am piping the SPUser from Get-SPUser) -

Get-SPUser "testserver\ctester" -Web "http://testserver"| Move-SPUser -NewAlias "testserver\ctester1" -IgnoreSID

To modify the email address, you can use the Set-SPUser cmdlet : http://technet.microsoft.com/en-us/library/ff607827.aspx

HTH, Landon

share|improve this answer

If the user will click on his/her name on the top right of the home page, the drop down will show an option for "My Settings". If they will click on that they'll be able to change their display name and email address.

share|improve this answer

Thanks Rob but that doesn't work on the two installations I've done so far. None of the user's profile information is editable. My theory is that you can only edit that for your users are coming from an Active Directory. But maybe there is something else going on.

share|improve this answer

Site Actions > Site Settings > People and Groups

You will find your users in these groups.

Alternatively click on one of these groups then change the ?MembershipGroupId=X property to 0 to view all users in all groups, i.e.

http://yourserver/_layouts/people.aspx?MembershipGroupId=0

share|improve this answer
    
Thanks Ryan. That does let me see all my users, but it doens't let me change their name or email address. –  Anonymous Sep 19 '10 at 16:20
    
Hmm - are you a site administrator? –  Ryan Sep 19 '10 at 18:47
    
Or is it that after you've changed the email/name it changes back some time later? –  Ryan Sep 19 '10 at 18:48

Your Answer

 
discard

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