Re: Xmlrpc digest, Vol 1 #229 - 3 msgs
"Fabi Avilés" <[email protected]> Thu, 10 Aug 2006 08:30:07 +0200
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your answers, I've done it using the method update for person, using a Hashtable as argument, in wich I've got other Hashtable for the extended attributes, like email1. Thanks for your help. Bye 2006/8/10, [email protected] < [email protected]>: > > Send Xmlrpc mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.opengroupware.org/mailman/listinfo/xmlrpc > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xmlrpc digest..." > > > Today's Topics: > > 1. Create accounts, company_value table > (=?ISO-8859-1?Q?Fabi_Avil=E9s?=) > 2. Re: Create accounts, company_value table (Helge Hess) > 3. Re: Create accounts, company_value table (Adam Tauno Williams) > > --__--__-- > > Message: 1 > Date: Wed, 9 Aug 2006 10:24:51 +0200 > From: "=?ISO-8859-1?Q?Fabi_Avil=E9s?=" <[email protected]> > To: [email protected] > Subject: [OGo-XML-RPC] Create accounts, company_value table > Reply-To: [email protected] > > ------=_Part_37370_10031435.1155111891539 > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > 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. > > Fabi > > ------=_Part_37370_10031435.1155111891539 > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > 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.<br><br>Fabi<br> > > ------=_Part_37370_10031435.1155111891539-- > > --__--__-- > > Message: 2 > From: Helge Hess <[email protected]> > Subject: Re: [OGo-XML-RPC] Create accounts, company_value table > Date: Wed, 9 Aug 2006 10:29:39 +0200 > To: [email protected] > Reply-To: [email protected] > > On Aug 9, 2006, at 10:24, Fabi Avil=E9s wrote: > > When we create new contacts, whe store the e-amail in the table =20 > > company_value, but when creating new accounts, we don't know how to =20= > > > store the e-mail from the LDAP in this table, because the method " =20 > > account.insert" doesn't do this. > > You need to use the contact/person functions to change that =20 > information after creating the account. As you mention the account =20 > methods do not work on contact fields of the account. > > Greets, > Helge > --=20 > Helge Hess > http://docs.opengroupware.org/Members/helge/ > > > > --__--__-- > > Message: 3 > Subject: Re: [OGo-XML-RPC] Create accounts, company_value table > From: Adam Tauno Williams <[email protected]> > To: [email protected] > Date: Wed, 09 Aug 2006 06:27:40 -0400 > Reply-To: [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 > > End of Xmlrpc Digest >