Share via


PeopleManager.GetUserProfilePropertyFor method

Gets the specified user profile property for the specified user.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Function GetUserProfilePropertyFor ( _
    accountName As String, _
    propertyName As String _
) As ClientResult(Of String)
'Usage
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
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.SharePoint.Client.UserProfiles namespace