[rt-users] Possible to create scrips for "users" ?
Trask Rogers
trask at lyris.com
Wed Jul 13 16:43:43 EDT 2005
I've done something using the stub function "CanonicalizeUserInfo" in the User object by creating a User_Local.pm in the local/ tree. Here's the function in User.pm for your convenience:
=item CanonicalizeUserInfo HASH of ARGS
# CanonicalizeUserInfo can convert all User->Create options.
# it takes a hashref of all the params sent to User->Create and
# returns that same hash, by default nothing is done.
# This function is intended to allow users to have their info looked up via
# an outside source and modified upon creation.
=cut
sub CanonicalizeUserInfo {
my $self = shift;
my $args = shift;
my $success = 1;
return ($success);
}
----------------------
Trask Rogers
Technical Support Engineer
Lyris Technologies, Inc.
> Has anyone created any scrips to run when a new user is created?
>
> specifically new users via the "Autocreated on ticket submission" when an
> email is sent to RT?
>
> maybe this is more of a custom code thing than a scrip but any ideas or
> thoughts are welcome.
>
> T.J. Maciak
> Internet/Intranet Developer
> Department of IT
> City of Grand Rapids
> P: (616)456-3713
> F: (616)456-3448
>
More information about the rt-users
mailing list