Leveraging User Profiles and MySites

1,333 views

Published on

In this session, you'll learn how to customize SharePoint to automate My Site provisioning for greater consistency and governance, and to leverage the User Profiles service for easy navigation of user properties.
The speakers will demonstrate several approaches from real customer engagements, including a SharePoint 2013 app and a full-featured, farm-level solution that can scale for a large enterprise.
Come and see how a little custom code can go a long way to organize and manage SharePoint My Sites and consume user properties in different scenarios.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,333
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Leveraging User Profiles and MySites

  1. 1. Leveraging User Profiles and MySites In SharePoint 2010 and 2013 Beatrice Baciu - Architect Derek Cash-Peterson - Practice Director
  2. 2. Presentation Title | (#) thebookofsharepoint.blogspot.com @BeatriceBaciu @SPDCP www.spdcp.com
  3. 3. Presentation Title | (#) The Challenge • Centralize all profile data • Searching profile data • Integrate with other systems of record
  4. 4. Presentation Title | (#) Agenda • How does the user profile service work? • The benefits of the user profile service. • How does the user profile relate to MySites? • Configuring user profile service • Ways to develop against the user profile service in 2010 & 2013
  5. 5. Presentation Title | (#) What We Are Not Talking About • Enterprise Social • Tagging/Notes • Basic configuration of User Profile Service
  6. 6. Presentation Title | (#) How Does the User Profile Service Work SharePoint User Profile Service Application FIM C# Direct Active Directory Import External System ? Active Directory
  7. 7. Presentation Title | (#) Benefits of the User Profile Service • Allows centralized location for all user properties • Aggregation of user properties regardless of source • Out-of-the-box storage of links to user mysites • MySite provides individual location to manage and store documents, links, etc. • Easy consumption of data in code
  8. 8. Presentation Title | (#) How does the user profile relate to MySites • There is a link to the users MySite in the User Profile • MySite provides user with an interface to edit profile data • MySite Provides an individual repository for users that is security trimmed • Aggregation of all user profile properties in one source
  9. 9. User Profile Service Demo Configuration with ADFS and a custom database
  10. 10. Presentation Title | (#)
  11. 11. Presentation Title | (#) Recap • Use AD/ADFS as primary sync connection • Use BCS to import additional profile properties • Use property mapping to aggregate the User Profile • If using SPD, the primary key will be used as the identifier; modify the BDCM file yourself and use a unique logical key • Permissions in BDC
  12. 12. Presentation Title | (#) Troubleshooting • Connections Disappear: consider restarting the User Profile Synchronization Service • Random Sync issues: consider restarting the SharePoint Timer Service • when MySite gets created, user profile gets created if not there
  13. 13. Presentation Title | (#) Limitations • BDC cannot be the primary sync connection • Duplicate profiles • Once sync connection is deleted, profiles need to be purged via PS
  14. 14. User Profile Service in Farm-level scenario
  15. 15. Presentation Title | (#) Design Approach
  16. 16. Coding with the User Profile Service in SharePoint 2010
  17. 17. Coding with the User Profile Service in SharePoint 2013
  18. 18. Presentation Title | (#) User Profile Service Data Access via REST • GET • All User Properties for Current User http://siteurl/_api/SP.UserProfiles.PeopleManager/GetMyProperties • Get Specific Property for Current User http://siteurl/_api/SP.UserProfiles.PeopleManager/GetMyProperties?$select=PictureUrl,A ccountName • Get All Properties for Specific User http://siteurl/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)? @v='domainusername’ • Get Specific Property For Specific User http://siteurl/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountNa me=@v,propertyName='LastName')?@v='domainusername‘
  19. 19. Presentation Title | (#) User Profile Service Data Access via REST • POST • Provision User MySite http://siteurl/_api/SP.UserProfiles.ProfileLoader.GetProfileLoader/GetUserProfile/CreatePersonalSiteE nqueue • Set Current User’s Profile Picture http://siteurl/_api/SP.UserProfiles.PeopleManager/SetMyProfilePicture • NOTES • Changing user’s profile properties is not implemented in REST or CSOM • Deletion of user profiles is not implemented in REST or CSOM • o365 authentication uses account names like @v='i:0%23.f|membership|user@siteurl.onmicrosoft.com‘
  20. 20. Presentation Title | (#) Recap • How the user profile service works. • The benefits of the user profile service. • How does the user profile relate to MySites? • Configuring user profile service • Ways to develop against the user profile service in 2010 & 2013
  21. 21. Thank You Event Sponsors • Please visit them and inquire about their products & services • To win prizes make sure to get your bingo card stamped by ALL sponsors
  22. 22. Beatrice Baciu @BeatriceBaciu http://thebookofsharepoint.blogspot.com/ Derek Cash-Peterson @spdcp http://www.spdcp.com BlueMetal Architects www.bluemetal.com Blog.bluemetal.com @bluemetalinc Thank You!
  23. 23. We Are Hiring in NYC! SharePoint Developer Technical Designer / Front End Developer UX Software Engineer UX Software Architect Java Architect Software Operations Mgr (Norwalk, CT) Learn more: https://www.linkedin.com/company/bluemetal-architects/careers

×