// Ensure that the SP.UserProfiles.js file is loaded before the custom code runs. SP.SOD.executeOrDelayUntilScriptLoaded(getUserProperties, 'SP.UserProfiles.js');
I've looked into using the REST API, following examples shown on Vardhaman Deshpande: SharePoint 2013: Get UserProfile Properties with REST API but the example (no.6) for multiple property retrieval apparently doesn't work.
Any ideas, or thoughts, as to how I could get the MSDN JSOM example working? Or alternatively, how to use the REST API to retrieve multiple properties for a given user?