Thanks for your anwer but I don't understand the code ;-)
What does it do? I think it creates an employee login. And more
important in order to awnser my question could this code handle
multiple logins at once?
<simple-method method-name="createEmployee"
short-description="Create Employee" login-required="false">
<set field="require_email" value="false" />
<set field="require_phone" value="true" />
<set field="require_login" value="true" />
<set field="create_allow_password" value="true" />
<property-to-field resource="security"
property="username.lowercase" default="false"
field="username_lowercase"/>
<property-to-field resource="security"
property="password.lowercase" default="false"
field="password_lowercase"/>
<now-timestamp field="nowStamp"/>
<set field="parameters.roleTypeId" value="EMPLOYEE" />
<call-simple-method method-name="createUser"/>
</simple-method>
2009/2/14 BJ Freeman <[email protected]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> look at CreateEmployee
> applications\party\script\org\ofbiz\party\user\UserEvents.xml
>
> Roel Veldhuizen sent the following on 2/14/2009 7:34 AM:
>> When I add a person I also want to add multiple contactMech's. Is it
>> possible to add multiple contactMechs in one service? Or should I
>> build javacode to handle this?
>>
>> Thanks in advance,
>>
>> Roel Veldhuizen
>>
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJlwylrP3NbaWWqE4RAg2fAJ45zFdGGh2yr/EP5Ts9ghJWzXTAlACgychD
> pIYsVVcwZxiU6TdktgH4teM=
> =ZNra
> -----END PGP SIGNATURE-----
>