Tuesday 6 November 2012

Display names show as DOMAIN\UserName instead of FullName in SharePoint 2010


To overcome the User Profile Synchronization service issue as Display names show as DOMAIN\UserName instead of FullName in SharePoint 2010

In my previous blog i have explained the step by step process that "How to remove DomainName form user display name". But in this blog you can find the step by step process for SharePoint 2010
  • Open the PowerShell
  • cmd for one user
    •  Set-SPUser -Identity ‘ChandanKumar’ -DisplayName ‘Chandan Kumar’ –Web http://myintranetsite.com
  • cmd for all users 
    • Get-SPUser –Web http://myintranetsite.com | Set-SPUser –SyncFromAD
Below are few point to consider:-
  • When using –SyncFromAD switch, make sure that the Display Name field is set correctly in User Properties of Active Directory.
  • This is not an ideal solution if you are frequently adding new users and changing the user properties in AD. Tho you can schedule the above in Task Scheduler as per your requirement.
  • The above will not fix the Display Name for all Web Application in your farm, you will need to run the above command separately for all sites or create a script for the same or you can setup the User Profile Synchronization Service.
 
 Hope this will help .
 

No comments:

Post a Comment