Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Sys.Services ProfileService save Method

Saves the specified profile properties.

Sys.Services.ProfileService.save(propertyNames, saveCompletedCallback, failedCallback, userContext);




A string array that contains the profile properties to save.


The function that is called when the save method has finished. The default is null.


The function that is called if the save method has failed. The default is null.


User context information passed to the callback functions.

If the call to the profile service fails, the function that is specified in the error defaultFailedCallback property is called. If the call succeeds, the function that is specified in the defaultLoadCompletedCallback is called.

The following example shows how to use the save method to save the currently authenticated user's profile. This code is part of a complete example found in the Sys.Services.ProfileService class overview.

	    SaveCompletedCallback, ProfileFailedCallback, null);
© 2015 Microsoft