[rt-users] Scripts to create a queue,groups and users

Torsten Brumm torsten.brumm at googlemail.com
Wed Feb 13 06:11:34 EST 2008


Hi Alexander,
just had a look onto your http://www.desy.de/~alexk/addUserToGroup.pm and
found:

my ($code, $msg) = $user->Create(Name =>$Login, Password =>'test1234',
RealName =>$FnLn, EmailAddress =>$Email, Privileged =>0);

Privileged =>0
 so you want them to be Unprivileged?

Torsten



2008/2/7, Krieg, Alexander <alexander.krieg at desy.de>:
>
> Hi,
>
> i wrote 2 scripts and it would be nice, if somebody could have a look on
> the code to see bugs or improvements.
> The first one 'createQueue_Groups.pm' creates a queue, 4 groups and sets
> predefined rights for this groups.
> The second script 'addUserToGroup.pm' creates new users which are
> described in a separate file and add them to existing groups.
> Soon we might get a bigger amount of new users on our rt system and
> therefore we need this scripts to create in a quick way the new objects.
> Here the scripts:
> www.desy.de/~alexk/createQueue_Groups.pm and addUserToGroup.pm
>
>
> Best regards
> Alexander
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
MFG

Torsten Brumm

http://www.torsten-brumm.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080213/0a52866f/attachment.htm>


More information about the rt-users mailing list