Thanks Stuart. I was thinking there was something like that but not finding it. I'll go with this since it's built in, but it was also working using
$role=substr &EXT('request.role'),0,2; in the header and checking for $role eq 'cc' etc. in a conditional block. Doug Douglas Mills Director of Instructional Technology Department of Chemistry University of Illinois On 5/19/16, 10:44 AM, "lon-capa-users-boun...@mail.lon-capa.org on behalf of Stuart Raeburn" <lon-capa-users-boun...@mail.lon-capa.org on behalf of raeb...@msu.edu> wrote: >Doug, > >LON-CAPA includes: <instructorcomment> </instructorcomment> >which supports conditional display of information to Course >Coordinator and Instructor roles. > >Stuart Raeburn >LON-CAPA Academic Consortium > >Quoting "Mills, Douglas G" <dmi...@illinois.edu>: > >> Hi All, >> >> Is there an environment variable or EXT function that returns the >> user's role in the course? There is so much useful information at >> >> https://s10.lite.msu.edu/res/msu/albertel/test/ext_examples.problem#0 >> >> that I make use of all the time, but "role" is not there and I'm a >> bit surprised. What I'd like to do is provide information to course >> coordinators that is not provided to students, so I figured a >> conditional block based on role would do that. Thanks as always for >> any help you can provide! >> >> Doug >> >> Douglas Mills >> Director of Instructional Technology >> Department of Chemistry >> University of Illinois > > >_______________________________________________ >LON-CAPA-users mailing list >LON-CAPA-users@mail.lon-capa.org >http://mail.lon-capa.org/mailman/listinfo/lon-capa-users _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users