[Building Sakai] How to get current user is role

Zoljargal Munkhjargal zoljargal.m at gmail.com
Mon Jul 16 20:43:25 PDT 2012


How to get current(logged) user is role? In sakai project, there were
several roles such as admin, instructor, teaching assist and student.

I found only isSuperUser() function while I was modifying sakai sample
project.

public boolean isSuperUser() {
        return securityService.isSuperUser();
}

-- 

_______________________________

*ZOLJARGAL Munkhjargal*

 Lecturer
School of Information Technology
 National University of Mongolia

 Tel:          +976 77307730 3307
Email:      zoljargal.m at gmail.com
Website:  www.sit.num.edu.mn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120717/7c59203d/attachment.html 


More information about the sakai-dev mailing list