[rt-users] rt scripting
Mathew Snyder
mathew.snyder at gmail.com
Mon Feb 25 16:46:39 EST 2008
my $users = new RT::Users(RT::SystemUser);
$users->LimitToPrivileged;
Kristian Davies wrote:
> Problem: Retrieve list of privilidged users automagicallu.
>
> What is the best way to do this?
>
> I'm guessing it's not attacking the db directly.
>
> Having poked around the code, i tried to replicate what the
> configuration>users page with the perl api but due to my lack of perl
> foo i failed quite badly.
>
> Does anyone have the skeleton code at least with the
> CurrentUser/Session part (this is the bit i couldn't do.. so far)?
>
> Cheers,
> Kristian
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
--
Keep up with me and what I'm up to: http://theillien.blogspot.com
More information about the rt-users
mailing list