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

Difference between core_enrol_get_enrolled_users and core_enrol_get_enrolled_users_with_capability?

$
0
0
by Melanie Treitinger.  

What exactly is the difference between core_enrol_get_enrolled_users and core_enrol_get_enrolled_users_with_capability?

As I see it, they are doing basicly the same:
"withcapability" is an optional argument for core_enrol_get_enrolled_users.

core_enrol_get_enrolled_users_with_capability takes a list of users and capabilities - is that the difference?

Or am I missing something?


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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