Limiting Access to Some Courses by Email Address Domain

Limiting Access to Some Courses by Email Address Domain

- Michael Milette の投稿
返信数: 1
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers 画像 Translators

I need to restrict access for some courses on my site to users with a particular email address domain. What would be the best approach? What I don't want is to have all users in a particular domain automatically enrolled in a course. Users with the correct domain in their email address should be able to self-enrol to these corporate courses.

I don't mind developing something but would appreciate some pointers to get me going in the right direction.

Best regards,

Michael

評点平均:Useful (2)
Michael Milette への返信

Re: Limiting Access to Some Courses by Email Address Domain

- Oliver Trampleasure の投稿

Also interested in doing this, I've been trying to using autoenrol cohort but am a little confused by the syntax. Also... I would like to merge any academic email (ending in @*.ac.uk) into a single cohort which looks like it will be a relatively mammoth task (I think I could do it by putting in many replacement rules). Struggling with it at the moment.

I think that autoenrol would probably suffice for your aims though.