PeopleManager.GetPropertiesFor method

Gets user properties for the specified user.

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

Syntax

'Declaration
Public Function GetPropertiesFor ( _
    accountName As String _
) As PersonProperties
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As PersonProperties

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

Parameters

Return value

Type: Microsoft.SharePoint.Client.UserProfiles.PersonProperties

Remarks

For a code example that shows how to use this method, see How to: Retrieve user profile properties by using the .NET client object model in SharePoint 2013.

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.SharePoint.Client.UserProfiles namespace