gboolean afdal_af_kernel_af_user_permission_set gint  af_user_id,
gint  permission_id,
gboolean  value_to_set,
AfDalNulFunc  usr_function,
gpointer  usr_data
 

Allows to change current relation between the given user and permission according to the value of value_to_set.

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

Parameters:
af_user_id The Af-Arch user to modify its relation with the given permission.
permission_id The permission to modify its relation with the given user.
value_to_set Value to be used to modify relation between the given permission and user.
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.