The method Add adds a new user. Returns the ID of the added user on success, or false otherwise. In the latter case, the LAST_ERROR property contains the error description.
Parameters
fields
Array of field values in the format array("field"=>"value" [, ...]). The field names may include all the CUser class fields as well as GROUP_ID - an array of user group ID's to which the user belongs.