共用方式為


PeopleManager.GetPropertiesFor 方法

指定使用者取得使用者屬性。

命名空間:  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 Function GetPropertiesFor ( _
    accountName As String _
) As PersonProperties
'用途
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As PersonProperties

returnValue = instance.GetPropertiesFor(accountName)
public PersonProperties GetPropertiesFor(
    string accountName
)

參數

傳回值

類型:Microsoft.SharePoint.Client.UserProfiles.PersonProperties

備註

程式碼範例顯示如何使用此方法,請參閱How to: Retrieve user profile properties by using the .NET client object model in SharePoint 2013

請參閱

參照

PeopleManager 類別

PeopleManager 成員

Microsoft.SharePoint.Client.UserProfiles 命名空間