gboolean afdal_af_kernel_af_user_change_password gchar *  old_password,
gchar *  new_password,
gchar *  new_password2,
AfDalNulFunc  usr_function,
gpointer  usr_data
 

Allows Af-Arch user to update its password without having any special permission.

This service allows any Af-Arch user to update its current password. This service is public and no requires to have permissions to execute it. Password update is applied to currently logged user which invoke this service.

INVOCATION METHOD: This function allows to perform a asynchronous remote invocation for the service "af_kernel::af_user::change_password".

Parameters:
old_password Current Af-Arch user password
new_password New password to be set.
new_password2 New password repeated to ensure user have typed it correctly
usr_function An Asynchronous handler where the AfDalNulData value will be received.
usr_data User defined data to be passed in to the process function defined by usr_function.
Returns:
TRUE if asynchronous request was sent to remote server (af_kernel). FALSE if there was an error while making remote service invocation.