[opencms-dev] Confused about WebUsers

Michael Schmitt mi.schmitt at gmx.de
Tue Mar 11 11:38:32 CET 2003


Hi,
I do not understand the relationship between 'OpenCms.addUser()',
 'OpenCms.addWebUser()', the database tables 'CMS_USERS' and
 'CMS_WEBUSERS', and the predefined group 'WebUsers'.
If I use 'OpenCms.addWebUser()' I have to specify a group (not
automatically group 'WebUsers'), the new user will be added in 
table 'CMS_USERS' with type=1 (??) and will not be shown in the 
administration view.
If I use 'OpenCms.addUser()' with group 'WebUsers', the user will 
also be added to the table 'CMS_USERS' (but with type=0) and will
be shown in the administration view.
In both cases, no entry will be created in table 'CMS_WEBUSERS'.

As far as I understand the method 'OpenCms.addWebUser()' is for
creating Users that are not visible in the administration view and has 
nothing to do with the predefined group 'WebUsers'. The
administration view does not display users of type=1 (are there any
other types except 0 and 1,  and if so, what do they mean?). But
what are the table 'CMS_WEBUSERS' and the predefined group
'WebUsers' good for?

Probably I have confused everyone, now. If not, I would be thankful
for any explanation.

bye,
michael



More information about the opencms-dev mailing list