The OnAfterUserAdd event is fired upon an attempt to add a new user by
calling CUser::Add.
Parameters
Parameter
Description
arFields
An array of fields
describing the user whose information is to be updated. Additionally,
the RESULT field contains the return value of CUser::Add.
If the latter failed, the RESULT_MESSAGE field will contain the
error description.
Note
All parameters passed to this handler function and the arParams
array are references to original variables. Therefore, all changes to parameters
made within the handler affect values of the original variables.