Allows to set a relation between the given group and user according to the status for the given value_to_set.
This function is a short way to afdal_af_kernel_af_user_af_group_add and afdal_af_kernel_af_user_af_group_remove function. This function allows to make a user to belong to the given group or to be removed from it according to the state of the given value_to_set.
INVOCATION METHOD: This function allows to perform a asynchronous remote invocation for the service "af_kernel::af_user::af_group_set".
|af_user_id ||User id to be used to establish the relation. |
|af_group_id ||Group id to be used to estable the relation. |
|value_to_set ||Relation status to be used |
|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.|
- TRUE if asynchronous request was sent to remote server (af_kernel). FALSE if there was an error while making remote service invocation.