Home » Microsoft » 70-489 » Which code segment should you insert at line MP57?
You need to ensure that users can upload pictures
Which code segment should you insert at line MP57?
A.
B.
C.
D.
Correct Answer: B
Explanation/Reference:
PeopleManager.SetMyProfilePicture method uploads and sets the user profile picture.
PersonProperties.PictureUrl property gets the URL of the user’s profile picture.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.userprofiles.peoplemanager.setmyprofilepicture.aspx
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.userprofiles.personproperties.pictureurl.aspx