I am having some trouble accessing fields that are contained in User Profiles that have been created in the back-end interface. The profile I want to access is called Facebook Profile (with a developer name of 'facebookprofile').
The documentation accessing custom profile data like this is lacking, and I have had to search the forums for some answers. The best thing I found was this:
UserProfile owsProfile = userProfileManager.GetUserProfile(user.Id,
var w = Telerik.Sitefinity.Model.DataExtensions.GetValue(owsProfile,
Unfortunately, this does not appear to work (the GetUserProfile method returns a null value for the user profile).
Can anybody suggest a way that I can access and edit the data contained in custom user profiles?