Export (0) Print
Expand All

PeopleManager.SetMyProfilePicture method

SharePoint 2013

Uploads and sets the user profile picture.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public void SetMyProfilePicture(
	Stream picture
)

Parameters

picture
Type: System.IO.Stream

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

Show:
© 2014 Microsoft