AW: [opencms-dev] Add new User via Script

Oppermann, Joerg Joerg.Oppermann at t-systems.com
Thu Mar 11 18:00:03 CET 2004


Hi Steffen,
 
we added some groups and users per script and cmsshell and it works for us.
try this
sample adduser.txt
 
echo on
logon adminuser adminpassword
setCurrentProject 4
addGroup "grp" "grpdescription" 0 "parentgrp"
addUser "username" "password" "grp" "decription" "firstname" "lastname" "email"
 
cmsshell.bat <adduser.txt
 
bye, Joerg
 
-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]Im Auftrag von Steffen Valentin
Gesendet: Donnerstag, 11. März 2004 15:01
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Add new User via Script



Hello group!
 
I've tried to add a new User to Opencms but this didn't work so far.
 
I'm not able to login with this new user neighter to edit the user from administration!
There I get an NullPointerException
 
Does anybody have an idea about this? What did I wrong?
 
I use the addUser(...) and the addImportUser(...) method, both didn't work!
 
 
Thanks in advance!
 
Steffen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040311/303f1194/attachment.htm>


More information about the opencms-dev mailing list