Метод PeopleManager.GetUserProfilePropertyFor
Получает указанное свойство профиля указанного пользователя.
Пространство имен: 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>