<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff size=2>Hi
Steffen,</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff size=2>we
added some groups and users per script and cmsshell and it works for
us.</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff size=2>try
this</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff size=2>sample
adduser.txt</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff size=2>echo
on</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff size=2>logon
adminuser adminpassword</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2>setCurrentProject 4</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2>addGroup "grp" "grpdescription" 0 "parentgrp"</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2>addUser "username" "password" "grp" "decription" "firstname" "lastname"
"email"</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2>cmsshell.bat <adduser.txt</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff size=2>bye,
Joerg</FONT></SPAN></DIV>
<DIV><SPAN class=103224016-11032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103224016-11032004></SPAN><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org]<B>Im
Auftrag von </B>Steffen Valentin<BR><B>Gesendet:</B> Donnerstag, 11. März 2004
15:01<BR><B>An:</B> opencms-dev@opencms.org<BR><B>Betreff:</B> [opencms-dev] Add
new User via Script<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2>Hello group!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've tried to add a new User to Opencms but this
didn't work so far.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm not able to login with this new user neighter
to edit the user from administration!</FONT></DIV>
<DIV><FONT face=Arial size=2>There I get an NullPointerException</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anybody have an idea about this? What did I
wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use the addUser(...) and the addImportUser(...)
method, both didn't work!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Steffen</FONT></DIV></BLOCKQUOTE></BODY></HTML>