Hi Thomas,
looking at the code only name, first name and email is added:
Querying more is easy, thought the account object does not store the contact information, so you would need to make more changes to store also contact information:
At the end of that function you could fetch the contact data of the new user and store it in the addressbook. You could also add an own app and use the “addaccount” hook to do so without the need to modify EGroupware sources.
Ralf