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
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to