-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks Kevin, I'm having a go with the RT Perl library.
Best regards, Giuseppe On 20/08/12 15:44, Kevin Falcone wrote: > On Wed, Aug 15, 2012 at 12:12:21PM +0100, Giuseppe Sollazzo wrote: >> Hi there, >> I was wondering if there's any command line utility or API call that I >> can use to add users to a group in bulk, in RT4. >> >> I have something like >> user1@domain >> user2@domain >> user3@domain >> user4@domain >> >> they are already on the system, but unprivileged. >> >> I want to make them privileged and add to a group. > > There is no existing command line utility, but it's mostly a matter of > a small perl script to load the user, calling SetPrivileged on it and > then calling AddMember on the relevant group object. > > -kevin - -- ____________________________________ Giuseppe Sollazzo Senior Systems Analyst Computing Services Information Services St. George's, University Of London Cranmer Terrace London SW17 0RE Email: gsoll...@sgul.ac.uk Direct Dial: +44 20 8725 5160 Fax: +44 20 8725 3583 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQNKuBAAoJEAqigArPBfJXJyMH/j/cZic1KA+GffHaC7q0DXYA bj2de9JpgLI3f4W+Rtk7voWwlPeiS3F2Y9ABsK4loyGBdJg9uq5JdfNfhlmlTboM aqN1H4GCTBvLfNY0KVrolsB73hJKNAfBSlTl/ndjNapiNFG1aANAJQprNM39UBbQ SAWwg3ghliXG1USGdhZiSEaAvUW6C2A1IoEni3o7VI5e2rR/MYYax9n+TD9n0wGN XQvVx8tMR8W1EkqtPYVbvCtnDbb7pIyRk7UG5EDFqEL5eiar0/jp3NDAkstNrAnb Q6+sM0otVLnYvCfbxthSJmXGA0B5h9pzLxUooTw8eZZcNuwc+oHNM/l7NtAhsw8= =wZ8L -----END PGP SIGNATURE-----