I have a wrote post on updating SharePoint user profile with SharePoint Server Object model (SSOM) which is as below and this sample of code ellaborates on how you can update user profile properties of multi-valued. Update below link with the latest https://kushanlahiru.wordpress.com/2017/02/11/update-all-user-profile-properties-in-sharepoint-server-side-object-model-ssom Update multi valued property <pre class= "brush: csharp" > //Higher permissions requires anyway to access secure data! So elevate SPSecurity.RunWithElevatedPrivileges(delegate() { SPServiceContext serviceContext = SPServiceContext.GetContext(site); UserProfileManager userProfileMgr = new UserProfileManager(serviceContext); ProfilePropertyManager profilePropMgr = new UserProfileConfigManager(serviceContext).ProfilePropertyManager; // Retrieve all properties for the "UserProfile" profile subtype, // and retrieve the property values for a specific user to udpate ProfileSubt
Lemme engineeracle your Software Warcraft! One place for tech explorations of Kushan and up to date contents on cloud-based business productivity and enterprise collaboration.