【转】Import User Profile Photos from Active Directory into SharePoint 2010
2012-10-08 17:40
453 查看
原文地址:http://www.tcscblog.com/2010/11/18/import-user-profile-photos-from-active-directory-into-sharepoint-2010/
Requirements:
SharePoint Server 2010 with the October Cumulative Update installed (**UPDATE** SP2010 SP1 with at least Feb 2012 CU) Successfully working User Profile Service Application Profile Photo stored in thumbnailPhoto AD attribute (I used the PowerShell script found here to import the picture into the attribute)
Steps to Perform:
Create an import PictureURL mapping Perform a full profile synchronization Run the Update-SPProfilePhotoStore PowerShell command
Create an import PictureURL mapping
Edit the User Profile Picture property by navigating to Manage Service Applications > User Profile Service Application > Manage User Properties > Picture
Make sure your Active Directory profile connection is selected, and then choose the thumbnailPhoto attribute and Import direction
Since you’ll be controlling the profile photos from Active Directory, change Edit Settings to “Do not allow users to edit values for this property”
Click OK to make the changes Perform a full profile synchronization
Manage Service Applications > User Profile Service Application > Start Profile Synchronization
The synchronization may take a while, so be patient. Once completed, if you go to the profile page you’ll notice that the image wasn’t added.
Run Update-SPProfilePhotoStore PowerShell Command
Launch the SharePoint 2010 Management Shell (Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell) and run the following command: Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation
http://<YourServerName>/my (注:我的网站地址)
Now go back to the profile page to review the results
Requirements:
SharePoint Server 2010 with the October Cumulative Update installed (**UPDATE** SP2010 SP1 with at least Feb 2012 CU) Successfully working User Profile Service Application Profile Photo stored in thumbnailPhoto AD attribute (I used the PowerShell script found here to import the picture into the attribute)
Steps to Perform:
Create an import PictureURL mapping Perform a full profile synchronization Run the Update-SPProfilePhotoStore PowerShell command
Create an import PictureURL mapping
Edit the User Profile Picture property by navigating to Manage Service Applications > User Profile Service Application > Manage User Properties > Picture
Make sure your Active Directory profile connection is selected, and then choose the thumbnailPhoto attribute and Import direction
Since you’ll be controlling the profile photos from Active Directory, change Edit Settings to “Do not allow users to edit values for this property”
Click OK to make the changes Perform a full profile synchronization
Manage Service Applications > User Profile Service Application > Start Profile Synchronization
The synchronization may take a while, so be patient. Once completed, if you go to the profile page you’ll notice that the image wasn’t added.
Run Update-SPProfilePhotoStore PowerShell Command
Launch the SharePoint 2010 Management Shell (Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell) and run the following command: Update-SPProfilePhotoStore -CreateThumbnailsForImportedPhotos 1 -MySiteHostLocation
http://<YourServerName>/my (注:我的网站地址)
Now go back to the profile page to review the results
相关文章推荐
- Configuring the User Profile Service in SharePoint 2010
- Sharepoint2010 系列:在Infopath 2010中调用Web Service(SharePoint Server 2010 -“User Profile Service We)
- Problens after upgrade Sharepoint 2010 SP 1-User Profile Service Unexcept error
- Show username instead of "System Account" in SharePoint 2010
- NetBiosDomainNamesEnabled与SharePoint User Profile Service Application
- Step By Step Guide to configure the “Replicating directory changes” for SharePoint 2010 and 2013
- SharePoint User Profile Service之(五)-Audience
- 在 SharePoint Server 2013 中备份 User Profile Service 应用程序
- Customize My Profile Tabs for SharePoint 2010
- import a Microsoft SharePoint 2010 site definition
- SharePoint User Profile Services Application之(一) 创建UPS Service Application
- 安装Active Directory Tools For SharePoint 后无法添加到页面的原因
- Custom Ribbon in SharePoint 2010 & which not wrok when migrate from 2010 to 2013
- Active Directory Tools For SharePoint
- Hiding the SharePoint 2010 Ribbon From Anonymous Users
- Import CSV into Sharepoint List 把csv导入到sharepoint列表
- SharePoint Profile Import
- UserName showing up as DomainName\UserName instead of Full Name in SharePoint 2010
- 如何将用户在AD中照片导入到SharePoint User Profile?
- 电子书下载:Pro ASP.NET SharePoint 2010 Solutions: Techniques for Building SharePoint Functionality into ASP.NET Applications