How Can I Grow A Set Of Users

I need to assemble a set of users from a list of user Ids

# gives me a list of _all_ the users
$users = RT::Users->new($session{'CurrentUser'});

# empties the list 
$users->CleanSlate; # empty the list

#doesn’t work
my $user1 = RT::User->new($session{'CurrentUser'});
$user1->Load(2250);
$users->Join($user1);

#doesn’t work    
my $user2 = $users->NewItem;
$user2->Load(147511);

# how can I add User elements to the User list ?

I need to assemble a set of users from a list of user Ids

gives me a list of all the users

$users = RT::Users->new($session{‘CurrentUser’});

how can I add User elements to the User list ?

This script worked for me, outputs the Name field for each record in the
VALUE array:

use warnings;
use strict;

use RT -init;

my $users = RT::Users->new( RT->SystemUser );
$users->Limit(
FIELD => ‘id’,
OPERATOR => ‘IN’,
VALUE => [ 6, 12, 1 ],
);

while (my $user = $users->Next ) {
print $user->Name, “\n”;
}