PeopleManager.GetUserProfilePropertiesFor method

SharePoint 2013

Gets the specified user profile properties for the specified user.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public IEnumerable<string> GetUserProfilePropertiesFor(
	UserProfilePropertiesForUser propertiesForUser
)

Parameters

propertiesForUser
Type: Microsoft.Office.Server.UserProfiles.UserProfilePropertiesForUser

An object that specifies the target user and the user profile properties to get.

Return value

Type: System.Collections.Generic.IEnumerable<String>
The specified user profile properties for the specified user.
Show: