New to Mattermost, I’m trying to validate it for future use, now on a test Linux Debian server, eventually for use on a dedicated server in data center.
I’d like to know if there is a way to massively add (or at least invite) users, for example from a text file containing emails (and possibly/optionally nicknames and passwords), or by doing a cut and paste from a such file?
I speak about something like 100 users, maybe more, at once, which it would be painful to add one by one.
Happy to know that you are giving Mattermost a shot. In terms of bulk adding users, you can check on the bulk loading method that utilizes JSONL file format. Details are listed in the documentation.
On the other hand, the ability to bulk import users from CSV / excel file feature has been raised here:
No way to do this using desktop application or web page ?
(I mean, I won’t necessarily want to give SSH command line access to the person managing the server, and that person will likely not have the needed skills for that anyway)
This process can only be done from the backend, not from the front end. Sorry about that.
Another method of bulk inviting users is to share the invite link in an internal, controlled environment. Once all the users are onboard, you can regenerate the previous invite link to invalidate it.
You can do that using mmctl remotely, the Mattermost sysadmin just needs to allow user access tokens temporarily, but the scripts I created for that take care of that too.
There are two different ways, one using a simple mmctl user create approach and one loading the contents of a CSV into the bulk importer utility, see the two scripts for possible ways to achieve that: