[rt-users] Detailed programming API?
Garry Booth
G.Booth at lboro.ac.uk
Fri Sep 16 04:07:15 EDT 2011
Hi Steve
This isn't quite what you want, but should get you started, it takes a list of usernames and email addresses from a txt file in the form: - username:email. It does some checking of the addresses against whats in rt and then sets a new name, new email address, a new password, removes privileges and disables the account.
it runs from opt/rt3/local/bin
Shout if you need anything explaining etc.
regards
Garry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rename.pl
Type: text/x-perl-script
Size: 3099 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110916/52a45f73/attachment.bin>
-------------- next part --------------
--
Dr Garry Booth
IT Services
Loughborough University
On 15 Sep 2011, at 20:44, Cena, Stephen (ext. 300) wrote:
> I'm trying to write some scrips for RT, specifically one that will take a requestors email address & see if they are a current user. If not, create a password & allow the user to get in. Nothing I'm trying is working at all. My Perl is a little rusty, but I'm having a hell of a time figuring out what to call from where. The perldoc for the .pm files in the /lib/RT folder seems to be the only reference.
>
> Is there something a little more detailed out there?
>
> Steve
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Chicago, IL, USA ? September 26 & 27, 2011
> * San Francisco, CA, USA ? October 18 & 19, 2011
> * Washington DC, USA ? October 31 & November 1, 2011
> * Melbourne VIC, Australia ? November 28 & 29, 2011
> * Barcelona, Spain ? November 28 & 29, 2011
More information about the rt-users
mailing list