PeopleManager.SetMyProfilePicture 方法

Uploads and sets the user profile picture.

命名空间:  Microsoft.SharePoint.Client.UserProfiles
程序集:   Microsoft.SharePoint.Client.UserProfiles.Silverlight(位于 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中);  Microsoft.SharePoint.Client.UserProfiles.Phone(位于 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中)  Microsoft.SharePoint.Client.UserProfiles(位于 Microsoft.SharePoint.Client.UserProfiles.dll 中)

语法

声明
Public Sub SetMyProfilePicture ( _
    picture As Stream _
)
用法
Dim instance As PeopleManager
Dim picture As Stream

instance.SetMyProfilePicture(picture)
public void SetMyProfilePicture(
    Stream picture
)

参数

备注

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.

另请参阅

引用

PeopleManager 类

PeopleManager 成员

Microsoft.SharePoint.Client.UserProfiles 命名空间