Web services

Logged in user role

Picture of asha chaparala
Logged in user role


I am searching over internet from two days for the below issue

i want to know logged in userrole for the site through webservises

if it is admin page i want to show all options,if it is a teacher i want to hide some options

how can i acheive this through webservises

for example:if logged user is admin for that site(in response i need to get admin)

                     if logged user is teacher for that site(in response i need to get teacher)

How can i achieve this through webservises?

awaiting for reply.............

Average of ratings: -
Picture of Usman Asar
Re: Hardware specifcations
Particularly helpful Moodlers


You should have opened another thread  for this discussion, as this thread is about hardware requirements. Either ask admin to move to existing thread related to this discussion, or create a new thread.

Average of ratings: -