Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Xmlrpc digest, Vol 1 #229 - 3 msgs: msg#00006

cms.opengroupware.xmlrpc.devel

Subject: Re: Xmlrpc digest, Vol 1 #229 - 3 msgs

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, xmlrpc-request@xxxxxxxxxxxxxxxxx <xmlrpc-request@xxxxxxxxxxxxxxxxx>:
Send Xmlrpc mailing list submissions to
         xmlrpc@xxxxxxxxxxxxxxxxx

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
        xmlrpc-request@xxxxxxxxxxxxxxxxx

You can reach the person managing the list at
        xmlrpc-admin@xxxxxxxxxxxxxxxxx

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?=" <fabiavmz@xxxxxxxxx>
To: xmlrpc@xxxxxxxxxxxxxxxxx
Subject: [OGo-XML-RPC] Create accounts, company_value table
Reply-To: xmlrpc@xxxxxxxxxxxxxxxxx

------=_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 &quot;account.insert&quot;, 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 &quot;
account.insert&quot; 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 < helge.hess@xxxxxxxxxxxxxxxxx>
Subject: Re: [OGo-XML-RPC] Create accounts, company_value table
Date: Wed, 9 Aug 2006 10:29:39 +0200
To: xmlrpc@xxxxxxxxxxxxxxxxx
Reply-To: xmlrpc@xxxxxxxxxxxxxxxxx

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 <awilliam@xxxxxxxxxxxxx>
To: xmlrpc@xxxxxxxxxxxxxxxxx
Date: Wed, 09 Aug 2006 06:27:40 -0400
Reply-To: xmlrpc@xxxxxxxxxxxxxxxxx

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
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc

End of Xmlrpc Digest

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo