[Building Sakai] Sakai - User Type

Steve Swinsburg steve.swinsburg at gmail.com
Tue Feb 10 18:12:57 PST 2015


There is also a related writeup here:
https://steveswinsburg.wordpress.com/2009/05/30/roles-in-sakai-sites/

Cheers
On 11 Feb 2015 11:18, "Matthew Jones" <matthew at longsight.com> wrote:

> Users in Sakai are assigned a role on their user type (in the
> SAKAI_USER->type) column which is free form and can be anything. Default
> roles are generally something like guest or registered and these map up to
> special default realms. If there is a provider the provider can provide the
> roles. This is the method in the api is getType on the User Object.
>
> In a Site context the user also has a role. In a Course site, example
> roles are Student and Instructor. In a project site examples roles are
> maintain and access. I believe this is the getUserRole on BaseSite.
>
> Because it's possible for a student to also be an instructor (in the case
> of graduate teaching assistants) there's often overall no definitive answer
> for how to distinguish a student or instructor, only at the individual site
> level.
>
> https://javadocs.nightly.sakaiproject.org/
>
>
>
> On Tue, Feb 10, 2015 at 1:14 PM, Muthusamy, Kumar <
> kumar.muthusamy at pearson.com> wrote:
>
>>
>> Hi All,
>>         Is there any information stored in data base to distinguish  a
>> student or instructor or if not how to distinguish from api level.
>>
>> Thanks
>> Kumar
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150211/871b64c3/attachment.html 


More information about the sakai-dev mailing list