how to create user with script?

Moderator: crythias

Post Reply
hugutux
Znuny newbie
Posts: 20
Joined: 27 Mar 2016, 05:11
Znuny Version: OTRS 5
Real Name: Hugo Cosme
Location: Brazil
Contact:

how to create user with script?

Post by hugutux »

Good Morning,
Could someone help me understand the command parameter "Admin::CustomerUser:Add Add " for a user to be created within the otrs via command line ! ? ( In linux :))
OTRS 5 + MySQL + Debian Linux.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: how to create user with script?

Post by jojo »

bin/otrs.Console.pl Admin::CustomerUser::Add --help

Add a customer user.

Usage:
otrs.Console.pl Admin::CustomerUser::Add --user-name ... --first-name ... --last-name ... --email-address ... --customer-id ... [--password ...]

Options:
--user-name ... - User name for the new customer user.
--first-name ... - First name of the new customer user.
--last-name ... - Last name of the new customer user.
--email-address ... - Email address of the new customer user.
--customer-id ... - Customer ID for the new customer user.
[--password ...] - Password for the new customer user. If left empty, a password will be generated automatically.
[--help] - Display help for this command.
[--no-ansi] - Do not perform ANSI terminal output coloring.
[--quiet] - Suppress informative output, only retain error messages.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply