[rt-users] Get all email adresses of a group!

Kevin Falcone falcone at bestpractical.com
Fri Mar 14 10:04:21 EDT 2008


On Mar 14, 2008, at 6:28 AM, Sven Sternberger wrote:

> looked for a simple way to get all email adresses
> of a group. I wrote the 1line shell script attached to
> the mail, but I'm curious how this look via the perl api.

You can use the MemberEmailAddresses method
on RT::Group, which you can get using the LoadUserDefinedGroup
method (both defined in Group_Overlay.pm if you want to see
the code and docs)

-kevin



More information about the rt-users mailing list