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

get logged in users ids (URGENT)

$
0
0
by Majda Majda23.  

Hi,

I need to get the current logged in users ids and i really don't know how to use ws in moodle (i'm not good at ws in general). i tried some code i found on the internet, but it just doesn't seem to work each time i try to sent $USER->id and i don't know why!! i can read the variable but i can't send it to the client (i user nusoap)!!

is there some kind of restrectrion concerning the sending of user ids? should i only use the functions defined in moodle?

i would be very grateful to whoever provides me with a detailed answer on how to do it. 

Thanks a lot.


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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