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

Re: how do I get the user id of a token?

$
0
0
by asha chaparala.  

Hi,

i am developing one app,i want moodle users also can use my app,i want to access all his courses,profile details and all data related to that user to show in my app(how can i achieve this from java code).i am getting the below exception when i request this api.please tell me how to fix this issue

url:http://school.demo.moodle.net/webservice/rest/server.php?wstoken=cd72aa99e236fd9c760d617d69b6bcb0&wsfunction=core_user_get_users_by_field

<?xml version="1.0" encoding="UTF-8" ?>
<EXCEPTION class="webservice_access_exception">
    <ERRORCODE>accessexception</ERRORCODE>
    <MESSAGE>Access control exception</MESSAGE>
</EXCEPTION>


Viewing all articles
Browse latest Browse all 2361

Trending Articles