I want to enroll users to a particular course when they log in as employees. I use ldap authentication. So when a user login his state(Employee/customer) is fetched. I want to check that field and enroll the user automatically even it is his first login to the moodle site.
Can u help me? I used sign up plugin but it is not working.
Thanks in advance.