Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

WebApi 'enrol_self_get_instance_info' password always 'Enrolment key'

$
0
0
by Samuel Schmidt.  

Hello,


how can I query the self-enrolment password from a course with the WebApi?I tried the function "enrol_self_get_instance_info".

I only get "Enrollment key" as an answer.I never get the correct password as clear text.What am I doing wrong? Login as admin via webapi token.

Array
        (
            [id] => 370
            [courseid] => 97
            [type] => self
            [name] => Self enrolment (student)
            [status] => 1
            [enrolpassword] => Enrolment key
        )


Have a nice day.


Snowyrain


Viewing all articles
Browse latest Browse all 2361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>