Export (0) Print
Expand All

PeopleManager.GetUserProfilePropertyFor method

SharePoint 2013

Gets a user profile property for the specified user.

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

public string GetUserProfilePropertyFor(
	string accountName,
	string propertyName
)

Parameters

accountName
Type: System.String

The account name of the target user.

propertyName
Type: System.String

The name of the property to get.

Return value

Type: System.String
The specified profile property for the specified user.
Show:
© 2014 Microsoft