Create many user

Hii all

I need suggestion for create many user on RT with default user without manualy one by one on RT web UI.

Thank you

You can use the Perl API:

#!/usr/bin/perl

use strict;
use warnings;

use lib qw(./lib ./local/lib);

use RT;
use RT::Interface::CLI qw(Init);
RT::LoadConfig();
RT::Init();

...Do some user creation in code here...

I assume you need to create privileged users.

Additional to the API other workflow may be sufficient.

For privileged user most on the CreateUser page are individual. To set user rights use groups an configure the rights for groups. Then assign all user to the appropiate groups.

If you need many priviledged users I wonder if there is no directoryservice already in use. Maybe you want to use the LDAP-connector together with automatic user creation from ldap. This way you’ve got the same users at RT and your directory.
But remember to secure the access to RT. There is no 2FA built in RT, you need other tools for this.

There is a new MFA plugin available that might be suitable. RT::Extension::TOTPMFA - Multi-factor authentication with time-based one-time passcodes - metacpan.org