setMyProfilePicture Method

SP.UserProfiles.PeopleManager.setMyProfilePicture Method (sp.userprofiles)

SharePoint 2013

Uploads and sets the user profile picture.

Last modified: June 25, 2013

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013


Pictures in BMP, JPEG, and PNG formats of up to 5 million bytes are supported. A user can only upload a picture to their own profile.

Other resources

© 2015 Microsoft