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
)
参数
- accountName
类型:System.String
- propertyName
类型:System.String
返回值
类型:Microsoft.SharePoint.Client.ClientResult<String>