I'm new to this forum, and the answer may be simple, so please go easy on me. I spent about 30 minutes searching docs, FAQs, etc, and couldn't find the answer, hence this posting.
Can anyone tell me why, when I specify Student as role1 in a CSV file, Moodle 1.9 returns "Unknown role: 'Student'"?
I have to admit I don't fully understand the guidance under the question mark:
Enrolment field names (optional): The course names are the "shortnames" of the courses - if present then the user will be enrolled in those courses. "Type" means type of role to be used for associated course enrolment. Value 1 is default course role, 2 is legacy Teacher role and 3 is legacy Non-editing Teacher. You can use role field instead to specify roles directly - use either role short name or id (numeric names of roles are not supported). Users may be also assigned to groups in course (group1 in course1, group2 in course2, etc.). Groups are again identified by its names or ids (numeric names of groups are not supported).
course1, type1, role1, group1, course2, type2, role2, group2, etc.
Thanks! - Peter