PeopleManager.GetUserProfilePropertyFor 方法

Gets the specified user profile property for the specified user.

命名空间:  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 GetUserProfilePropertyFor ( _
    accountName As String, _
    propertyName As String _
) As ClientResult(Of String)
用法
Dim instance As PeopleManager
Dim accountName As String
Dim propertyName As String
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetUserProfilePropertyFor(accountName, _
    propertyName)
public ClientResult<string> GetUserProfilePropertyFor(
    string accountName,
    string propertyName
)

参数

返回值

类型:Microsoft.SharePoint.Client.ClientResult<String>

另请参阅

引用

PeopleManager 类

PeopleManager 成员

Microsoft.SharePoint.Client.UserProfiles 命名空间