Help me in External Database plz

Re: Help me in External Database plz

by Clinton Graham -
Number of replies: 0
The roles documentation will give you more information on this new functionality. They are optional fields, so you can use your settings as-is, or define the enrol_db_localrolefield and enrol_db_remoterolefield to reflect the user's status in the course. For example, a role may be "student" or "teacher"; the default if undefined is "student".

An example: enrol_db_localrolefield could be "shortname" (from the mdl_role table), and enrol_db_remoterolefield could be "customer_role" (assuming a new field "customer_role" in your "zen_customer_products" table).