[rt-users] Name of the requestor's groups

Michael Bochynski mbochynski at audiumcorp.com
Tue Oct 4 19:04:42 EDT 2005


Vance,

Have a look at sample code from Groups_Overlay (perldoc
Groups_Overlay.pm):

use RT::Groups;
         my $groups = $RT::Groups->new($CurrentUser);
         $groups->LimitToReal();
         while (my $group = $groups->Next()) {
            print $group->Id ." is a group id\n";
         }


Would it help you?

Michael


On Tue, 2005-10-04 at 18:47 -0400, Vance Vagell wrote:

> Hi all,
> 
> I am ever-so-close to finishing a scrip, but there is one sticking
> point.  How can I find the NAME (not id, object, etc.) of each group
> that the requestor is a member of?  I cannot find an example of this.
> 
> Thanks again,
> Vance
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Buy your copy of our new book, RT Essentials, today! 
> 
> Download a free sample chapter from http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20051004/b7ff4a61/attachment.htm>


More information about the rt-users mailing list