[OGo-XML-RPC] Create accounts, company_value table
Adam Tauno Williams
xmlrpc@opengroupware.org
Wed, 09 Aug 2006 06:27:40 -0400
On Wed, 2006-08-09 at 10:24 +0200, Fabi Avilés wrote:
> Hi everyone, this is my first time writing in this list. Well, I have
> a problem creating new accounts in ogo. I use the method
> "account.insert", and this creates a new account, but my problem is
> that I have all the data about the new user in a LDAP, and one of
> those is the e-mail. When we create new contacts, whe store the
> e-amail in the table company_value, but when creating new accounts, we
> don't know how to store the e-mail from the LDAP in this table,
> because the method " account.insert" doesn't do this. If anyone knows
> a solution, please tell us.
An account is also a person; just to a person.getById and person.update
with the same pkey as the new account. You can take a look at the
source for LDAPAccountSync if you want an example.
http://docs.opengroupware.org/Members/whitemice/OGoMojo/
http://docs.opengroupware.org/Members/whitemice/OGoMojo/OGoMojo-0.0.19.tar.gz/view