共用方式為


UserProfile 類別

代表用戶端使用者設定檔的人員。

繼承階層架構

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.UserProfiles.UserProfile

命名空間:  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 Class UserProfile _
    Inherits ClientObject
'用途
Dim instance As UserProfile
public class UserProfile : ClientObject

備註

用戶端UserProfile物件提供可用來建立目前使用者的個人網站的方法。不過,它不包含伺服器端UserProfile物件包含使用者屬性。若要從用戶端程式碼存取使用者屬性,請使用 [ PeopleManager物件從以下兩種方法其中一項 ︰ GetMyPropertiesGetPropertiesFor來擷取所有內容 (這儲存在PersonProperties.UserProfileProperties屬性) 或GetUserProfilePropertiesForGetUserProfilePropertyFor以都擷取特定屬性。

執行緒安全

這類型的任何公用 static (共用 於 Visual Basic 中) 成員是安全執行緒。不保證任何執行個體成員都是安全執行緒。

請參閱

參照

UserProfile 成員

Microsoft.SharePoint.Client.UserProfiles 命名空間