[LON-CAPA-users] Is there an EXT for group membership?

Mills, Douglas G dmills at illinois.edu
Wed Aug 29 12:55:00 EDT 2018


Excellent!  Thank you. Lon-Capa is amazing!

 
Doug

 

Douglas Mills

Director of Instructional Technology

Department of Chemistry

University of Illinois


 

On 8/29/18, 11:52 AM, "LON-CAPA-users on behalf of Raeburn, Stuart" <lon-capa-users-bounces at mail.lon-capa.org on behalf of raeburn at msu.edu> wrote:

    Doug,
    
    This command will return a colon-separated list of active groups to which the current user belongs.
    
    $groups = &EXT('user.course.groups');
    
    similar to &EXT('user.course.sec') for the current section, except unlike a section, where a user's session can only have a single section active at any time, a user can be a member of multiple groups.
    
    Note: if you have just added yourself to a group, click "Check for Changes" in the gray Functions bar on your roles screen to update your session with information about your new group membership.
    
    Stuart Raeburn
    LON-CAPA Academic Consortium
    ________________________________________
    From: LON-CAPA-users <lon-capa-users-bounces at mail.lon-capa.org> on behalf of Mills, Douglas G <dmills at illinois.edu>
    Sent: Wednesday, August 29, 2018 12:25 PM
    To: Discussion list for LON-CAPA users
    Cc: Mills, Douglas G
    Subject: [LON-CAPA-users] Is there an EXT for group membership?
    
    Hi All,
    
    I am looking at the wonderful examples page for the powerful &EXT() functions in Lon-Capa (https://s10.lite.msu.edu/res/msu/albertel/test/ext_examples.problem#0) but not seeing anything that would return the name of a group that the student is a part of. I've made use of the section information before and am wondering if there is no function that returns group membership or if it just isn't listed on this page?  I've tried (analogous to the section function)
    
    $group=&EXT("user.course.grp");
    
    and
    
    $group=&EXT("user.course.group");
    
    Is there something like this also in Lon-Capa or some other way to determine in the context of a problem if a student has been added to a specific group or not?
    
    Thanks,
    Doug
    
    Douglas Mills
    Director of Instructional Technology
    Department of Chemistry
    University of Illinois
    
    _______________________________________________
    LON-CAPA-users mailing list
    LON-CAPA-users at mail.lon-capa.org
    http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
    



More information about the LON-CAPA-users mailing list