Skip to content

Instantly share code, notes, and snippets.

@beckettkev
Created May 13, 2015 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beckettkev/57d0b3a890a3e8bb9e18 to your computer and use it in GitHub Desktop.
Save beckettkev/57d0b3a890a3e8bb9e18 to your computer and use it in GitHub Desktop.
jQuery.ajax({
success: function (data) {
var _resultSet = {
properties: data.d.UserProfileProperties.results,
accountName: data.d.AccountName,
email: data.d.Email,
personalUrl: data.d.PersonalUrl
};
jQuery.SubscriptionEvent('myProperties').publish(_resultSet);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment