Re: [otrs] Command-line script for adding Customer users to groups?

2013-09-12 Thread Stanford, Philip N.
2013 06:51 To: User questions and discussions about OTRS. Subject: Re: [otrs] Command-line script for adding Customer users to groups? Hi, You can use the script I put here: https://gist.github.com/mbeijen/6491928 -- Michiel Beijen Senior Developer OTRS BV Schipholweg 103 2316 XC Leiden

Re: [otrs] Command-line script for adding Customer users to groups?

2013-09-08 Thread Michiel Beijen
and discussions about OTRS. Subject: Re: [otrs] Command-line script for adding Customer users to groups? customers shouldn't belong to groups... Ok, but bin/otrs.AddCustomerUser.pl has an option to add a user to a group, but it doesn't appear to actually *use* $Options{g} (bug?) copy

[otrs] Command-line script for adding Customer users to groups?

2013-09-06 Thread Stanford, Philip N.
Hi, Does anyone have a script for adding Customer users to groups? We have a large number of customers and want to add sub-sets of these to a number of groups. I've tried modifying the script otrs.AddUser2Group.pl (which adds Agents to groups) without success - probably not surprisingly since

Re: [otrs] Command-line script for adding Customer users to groups?

2013-09-06 Thread Bogdan Iosif
It would be much simpler to perform this operation via SQL directly on OTRS's database On Fri, Sep 6, 2013 at 4:33 PM, Stanford, Philip N. p...@noc.ac.uk wrote: Hi, Does anyone have a script for adding Customer users to groups? We have a large number of customers and want to add

Re: [otrs] Command-line script for adding Customer users to groups?

2013-09-06 Thread Stanford, Philip N.
and discussions about OTRS. Subject: Re: [otrs] Command-line script for adding Customer users to groups? It would be much simpler to perform this operation via SQL directly on OTRS's database On Fri, Sep 6, 2013 at 4:33 PM, Stanford, Philip N. p...@noc.ac.ukmailto:p...@noc.ac.uk wrote: Hi, Does

Re: [otrs] Command-line script for adding Customer users to groups?

2013-09-06 Thread Gerald Young
customers shouldn't belong to groups... Ok, but bin/otrs.AddCustomerUser.pl has an option to add a user to a group, but it doesn't appear to actually *use* $Options{g} (bug?) copy otrs.AddUser2Group.pl to my.AddCustomerUser2Group.pl add in use Kernel::System::CustomerUser; use

Re: [otrs] Command-line script for adding Customer users to groups?

2013-09-06 Thread Stanford, Philip N.
for the suggestions. Phil From: otrs-boun...@otrs.org [mailto:otrs-boun...@otrs.org] On Behalf Of Gerald Young Sent: 06 September 2013 15:00 To: User questions and discussions about OTRS. Subject: Re: [otrs] Command-line script for adding Customer users to groups? customers shouldn't belong to groups... Ok