Re: Create accounts, company_value table
Adam Tauno Williams <[email protected]> Wed, 09 Aug 2006 06:27:40 -0400
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
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 -- OpenGroupware.org XML-RPC [email protected] http://mail.opengroupware.org/mailman/listinfo/xmlrpc