Thank you. I had not tried request.role. I tried several other variations (user.role, user.course.role, environment.role) but not request. Yes, that works. Thank you!
Doug Douglas Mills Director of Instructional Technology Department of Chemistry University of Illinois From: <lon-capa-users-boun...@mail.lon-capa.org<mailto:lon-capa-users-boun...@mail.lon-capa.org>> on behalf of "H. K. Ng" <h...@fsu.edu<mailto:h...@fsu.edu>> Reply-To: Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org<mailto:lon-capa-users@mail.lon-capa.org>> Date: Thursday, May 19, 2016 at 10:26 AM To: Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org<mailto:lon-capa-users@mail.lon-capa.org>> Subject: Re: [LON-CAPA-users] users's role? Hi, Have you try &EXT('request.role')? Returns st... for students, cc. for course coordinator. Regards, -hk On Thu, May 19, 2016 at 11:05 AM, Mills, Douglas G <dmi...@illinois.edu<mailto:dmi...@illinois.edu>> wrote: 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__s10.lite.msu.edu_res_msu_albertel_test_ext-5Fexamples.problem-230&d=CwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=lm_7ZS7-EAc__llGmOcR7rpM4OG1Bat_vcdWNBw5ZVA&m=mukfZLwbHJLMR6qZ5lRBeYI2NSU-Nm0Vj439OpvicdM&s=ieds1q35ZEnA4OHR2b87BcOgkjpJf3s2zxBh-0Mxe-M&e=> 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