PeopleManager.SetMyProfilePicture 方法
Uploads and sets the user profile picture.
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
Public Sub SetMyProfilePicture ( _
picture As Stream _
)
用法
Dim instance As PeopleManager
Dim picture As Stream
instance.SetMyProfilePicture(picture)
public void SetMyProfilePicture(
Stream picture
)
参数
picture
类型:System.IO.StreamThe binary content of an image file.
备注
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.