gboolean afdal_af_kernel_af_user_new gchar *  nick,
gchar *  password,
gchar *  description,
AfDalSimpleFunc  usr_function,
gpointer  usr_data
 

Creates a new Af-Arch user.

This service allows to create new users inside the Af-Arch system. To get access to services provided by af-arch, no matter if they are public or private one, an user login and password is needed.

The, permissions module can be used to set necessary permission for the user being created.

Af-Arch users can be organized in Af-Arch groups. To create groups and insert on them users is a easy way to define a set of permissions to be applies to a set of users. Af-Arch group permissions are also extended to the Af-Arch users the group have.

If the service is invoked successfully, an AfDalSimpleData object will be returned on the provided AfDalSimpleFunc usr_function having as value the new unique identifier for the user created.

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

Parameters:
nick User login (short name which identifies the user across Af-Arch system)
password User password
description A description for the Af-Arch user
usr_function An Asynchronous handler where the AfDalSimpleData 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.