NulData AfGroupSet int  af_group_id,
bool  value_to_set

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.

af_group_id Group id to be used to estable the relation.
value_to_set Relation status to be used