Posts

Showing posts from February 17, 2013

UserName showing up as DomainName\UserName instead of Full Name in SharePoint 2010

UserName showing up as DomainName\UserName instead of Full/Display Name in SharePoint 2010 Solution 1 :  Set-SPUser -Identity ‘SharkHeads\Mukesh’ -DisplayName ‘Mukesh Parmar’ –Web http://SharePointServer Get-SPUser –Web http://SharePointServer | Set-SPUser –SyncFromAD FOR ALL USERS :  Get-SPUser –Web  http://SharePointServer  | Set-SPUser –SyncFromAD Solution 2 :  1. Opened Central Administration on SharePoint 2010, logged in as the Administrator. 2. Clicked into "Application Management," then "Manage Service Applications." 3. Scrolled down to "User Profile Service Application," and clicked to open that. 4. Clicked "Manage User Profiles" under the main People heading. 5. Searched for the account I was looking for - "adelaide" - and made the changes so her correct first name, last name, and full name were showing. 6. Saved - and now I'm hoping for the best. With SharePoint 2007 it took up to 30 minutes

How to redirect to the SharePoint Success or Error Message page

How to redirect to the SharePoint Success or Error page with custom message. SPUtility .TransferToSuccessPage( "Operation Completed Successfully" ); Exception  ex =  new   Exception ( "Operation Failed" ); SPUtility .TransferToErrorPage(ex.Message);

SharePoint PeopleEditor add users

Add/Insert User/People in SharePoint People Editor. ArrayList list = new ArrayList(); list.Add(     new PickerEntity()     {         Key = @"DOMAIN\User"     } ); userPicker.UpdateEntities(list);