Allows to get current permission set to the given user.
Because permission returned by this function may not be owned directly by the user and owened by some group which the given user belongs, you have to use afdal_af_kernel_permission_actual_list_by_user to get really owned permissions by the given user.
This function returns on the given AfDalDataFunc an AfDalData object which contains an AfDalList with AfDalAfKernelPermission data nodes.
INVOCATION METHOD: This function allows to perform a asynchronous remote invocation for the service "af_kernel::permission::af_user_list".
|initial_permission ||Base permission to start returned list. User 0 to start from the very initial permission. |
|max_row_number ||Maximum number of items to be returned. Use 0 to receive all elements starting from initial parameter. |
|af_user_id ||The user to get current permissions. |
|usr_function ||An Asynchronous handler where the AfDalData 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.