Hi Alexander,<br>just had a look onto your <a href="http://www.desy.de/~alexk/addUserToGroup.pm">http://www.desy.de/~alexk/addUserToGroup.pm</a> and found:<br><br><pre>my ($code, $msg) = $user->Create(Name =>$Login, Password =>'test1234', RealName =>$FnLn, EmailAddress =>$Email, Privileged =>0);<br>
<br>Privileged =>0
so you want them to be Unprivileged?<br><br>Torsten<br><br></pre><br><br><div><span class="gmail_quote">2008/2/7, Krieg, Alexander <<a href="mailto:alexander.krieg@desy.de">alexander.krieg@desy.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>i wrote 2 scripts and it would be nice, if somebody could have a look on<br>the code to see bugs or improvements.<br>The first one 'createQueue_Groups.pm' creates a queue, 4 groups and sets<br>predefined rights for this groups.<br>
The second script 'addUserToGroup.pm' creates new users which are<br>described in a separate file and add them to existing groups.<br>Soon we might get a bigger amount of new users on our rt system and<br>therefore we need this scripts to create in a quick way the new objects.<br>
Here the scripts:<br><a href="http://www.desy.de/~alexk/createQueue_Groups.pm">www.desy.de/~alexk/createQueue_Groups.pm</a> and addUserToGroup.pm<br><br><br>Best regards<br>Alexander<br>_______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br><br>Community help: <a href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a><br>
Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br><br><br>Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>Buy a copy at <a href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>MFG<br><br>Torsten Brumm<br><br><a href="http://www.torsten-brumm.de">http://www.torsten-brumm.de</a>