Forums / Developer / Adding users manually

Adding users manually

Author Message

Rémy-Christophe Schermesser

Tuesday 23 May 2006 5:08:31 am

Hi,

I am using eZ publish 3.8 for a project. And I need to add users from another database. So I need to modify the eZ publish database manually.

I have added a user in the table 'ezuser', and in 'ezuser_setting'.

But I did not find where to specify the user group, the

Thanks for your help

Rémy-Christophe

Kristian Hole

Wednesday 24 May 2006 4:37:52 am

Hi,

You need to generate content-object containing the information about the users.

I suggest looking at the contributions:

Here is one example:
http://ez.no/community/contribs/import_export/user_import

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Rémy-Christophe Schermesser

Wednesday 24 May 2006 7:52:12 am

I looked at the UserImport plugin and it seems to use ezpublish kernel classes. What I need is to add users from an external application. Have you any idea ?

Thanks in advance

Kristian Hole

Tuesday 30 May 2006 12:59:48 am

The users require content objects in eZ publish, so i think the best way to do it is with a PHP-script that gets the information from external sources, and generates content in eZ publish (by using kernel-classes).

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute