Documentation
Videos
Higher Ed/Postsecondary
K-12
Corporate
Release Information
Release Notes
High Impact Changes Timeline
Known and Fixed Issues
Product Roadmap
Discussions
Events
Resources
Onboard
Optimize
Extend
Home
Groups
Developers
Checking special access for user across multiple quizzes
Bart.R.3318
Using the API, we need to review the list of quizzes in a course (only four) and see if a user has been granted special access and attempted the quiz, then assign/grant special access to a quiz they haven't attempted. Just want to verify our logic with people that have been doing this for awhile (this is new for me):
Get the course and the quizzes in the course,
Then query each quiz to see who has special access,
- Query the userid against the results for a match on each quiz attempts result,
- Store results for future processing,
Grant userid special access to a quiz based on results (or exit if all four attempted).
So, the meat of the question - we do have to iterate through the quiz attempts to get this info, there isn't an explicit call to ask if a user has attempted a quiz, correct?
Thanks,
Bart
Find more posts tagged with
Comments
There are no comments yet
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of
Categories
View all categories
Who's Online in this Category
Faith.T.759
Elouise.I.700
Erica.C.754
Dev.L.852
Katherine.L.631
Wesley.S.1384
Camila.A.688
Christine.O.9777
Michael.C.442
Jason.M.849
Amy.C.153
Alex.D.717
Heather.R.468
Laurie.Q.1698
Sam.A.275
Vanderbilt Group.A.152
Mukta.M.939
Rubie.C.620
Kristin.H.230
Nithya.K.5629
Maeghan.G.7087