SP.UserProfiles.UserProfilePropertiesForUser.getPropertyNames Method (sp.userprofiles)
Gets the user profile property names that are specified in the constructor.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
SP.UserProfiles.UserProfilePropertiesForUser.getPropertyNames()
Return value
String[]
The user profile property names that are specified in the constructor.