Forums | Mahara Community

Support /
Batch registration of users using csv


AB-Net's profile picture
Posts: 91

24 May 2021, 1:20

Hi,

In the item list of the "Add person with CSV" screen, there is an item of "user roles" at the end.
I checked the manual but couldn't find a description for "userroles".
I want to distinguish between students and teachers at the institute when enrolling users in bulk.
Can it be achieved by using "userroles"?
Please tell me how to use "userroles".

Thank you.

AB-Net.

Robert Lyon's profile picture
Posts: 757

24 May 2021, 13:49

Hi AB-Net,

This feature is not well documented - I put together some info here https://wiki.mahara.org/wiki/Developer_Area/UserRoles

The idea is one can create a custom UserRole classe so that they can assign the role to certain people.

https://wiki.mahara.org/wiki/Developer_Area/UserRoles

Currently there is one role UserRole within Mahara already - please take a look at the code around that to see how it works

Cheers

Robert

AB-Net's profile picture
Posts: 91

24 May 2021, 16:26

Hi Robert,

Thank you for answering.

I will try to set the role with reference to the information you received.

Thank you.

AB-Net.

3 results