[rt-users] array of users from Users object

Gergely Buday gbuday at gmail.com
Wed Aug 22 11:23:29 EDT 2012


Hi there,

how can I create an array of User objects from a Users object?

I do

my $group = RT::Group->new($ticket->OwnerObj);
$RT::Logger->info("OnCreate: group->Name=" . $group->Name);
$group->LoadUserDefinedGroup($name);
$RT::Logger->info("OnCreate: group->Name=" . $group->Name);

my @groupmembers = $group->UserMembersObj;

but that does not seem to work.

- Gergely



More information about the rt-users mailing list