Upload users in Moodle Workplace
From MoodleDocs
This feature is part of Moodle Workplace™, which is available through Moodle Certified Partners and Service Providers only.
Upload users tool is enhanced in Moodle Workplace to allow additional functionality
Tenant allocation
If the current user has capability 'tool/tenant:allocate', they will be able to specify a tenant when uploading users (both when creating new users and updating existing). If the current user does not have this capability, they can only work with users from their own tenant.
Example of the csv file:
username,firstname,lastname,email,tenant
jonest,Tom,Jones,jonest@example.com,big
reznor,Trent,Reznor,reznor@example.com,small
Tenants are matched by their "ID number".