[rt-users] Priviledged user creation

2006-07-22 Thread Prasad Deshpande
Hi, I am using RT Version 3.2.3 on RH 9. I want to create around 200 privileged users in RT. Is there any way through which I can create these users without manually entering it. Currently I am not using LDAP. If anybody has already done it or knows how it can be done, please let me

Re: [rt-users] Priviledged user creation

2006-07-22 Thread Todd Chapman
Roughly, like this: #!/usr/bin/perl use strict; use warnings; use lib qw(/opt/rt3/local/lib /opt/rt3/lib); use RT; use RT::User; RT::LoadConfig; RT::Init; while () { my @args = split; my $user = RT::User-new( $RT::SystemUser ); my ($rv, $msg) = $user-Create( Name = $args[0],