Test Users and Roles
Riaan.O.139
Posts: 3 🔍
in Development
Good evening, I have 2 questions:
- The API Test Tool site ( ) states that you can use the DevCoPStudent account to test API calls to the test D2L site (devcop.brightspace.com). I am doing this successfully. Are there any other test accounts I can use to call the API, particularly a user that is a lecturer, not a student; and
- My application requires that I be able to identify whether the authenticated user is a Student or Lecturer. How do I do this with the API? How do I identify the role of an authenticated user? Most of the API calls on the DevCoPStudent account returns Forbidden, which complicates my investigation further. I have read through the API docs around 354 times, but cannot find a possible solution.
Thank you, Riaan.
Tagged:
Answers
-
I think this has been lost in the move to the new Community, the used to be in a box on the sidebar of the old Developer group on the old Community. I can't see them on the new equivalent group, but somebody there is asking the same question.
-
Thanks, although it unfortunately does not answer the questions. Any solutions would be appreciated.