PeopleManager.GetUserProfilePropertiesFor method

Gets the specified user profile properties for the specified user.

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


Public Function GetUserProfilePropertiesFor ( _
    propertiesForUser As UserProfilePropertiesForUser _
) As IEnumerable(Of String)
Dim instance As PeopleManager
Dim propertiesForUser As UserProfilePropertiesForUser
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetUserProfilePropertiesFor(propertiesForUser)
public IEnumerable<string> GetUserProfilePropertiesFor(
    UserProfilePropertiesForUser propertiesForUser


Return value

Type: System.Collections.Generic.IEnumerable<String>


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


PeopleManager class

PeopleManager members

Microsoft.SharePoint.Client.UserProfiles namespace