SP.UserProfiles.PeopleManager.getUserProfilePropertyFor Method (sp.userprofiles)
Gets the specified user profile property for the specified user.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
SP.UserProfiles.PeopleManager.getUserProfilePropertyFor(accountName, propertyName)
Parameters
accountName
String
The account name of the specified user.propertyName
String
The name of the property to get.
Return value
String
The specified profile property for the specified user.