PeopleManager.GetUserProfilePropertyFor method

SharePoint Online

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)

public ClientResult<string> GetUserProfilePropertyFor(
	string accountName,
	string propertyName
)

Parameters

accountName
Type: System.String
propertyName
Type: System.String
Show: