How to upload assignment files on behalf of student?

Options
Etienne.L.304
Etienne.L.304 Posts: 1 🌱
edited December 2023 in Higher Ed / Postsecondary

How does an instructor upload the assignment on behalf of a student should there be a need? Trying to submit the file under evaluate does not actually add the file - just gives a preview of how the student would do the process. Impersonate as student does also not work.

Answers

  • Sam.B.358
    Sam.B.358 Posts: 11
    edited December 2023
    Options

    Hi Etienne,

    Your institution would need to allow the Instructor role to impersonate students and then under classlist, you should see a dropdown with an option for “Impersonate ”

    This option creates a live session as the user, so that's just something to keep in mind.

    Documentation for this:

    Impersonate a User: A user can impersonate another user from the Classlist tool. For example, it would be beneficial to impersonate a user when submitting a quiz on their behalf. The ability to enable user impersonation is set in the Users tool's permissions. Contact your administrator for more details.

    1. On the navbar, click Classlist.
    2. From the context menu of the user you want to impersonate, click Impersonate.

  • Gerald.T.717
    Gerald.T.717 Posts: 6 🌱
    Options
    Hello, is there a way to impersonate programmatically so we may submit on behalf of a student through the API?
  • Sangeetha.T.629
    Options

    Hi @Gerald.T.717 ,

    Thanks for reaching us through community!!

    Did you tried impersonating the student and ran API call - POST /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/submissions/mysubmissions/

    If you have issues then you might need to raise a support case to check further.

    Thanks,

    Sangeetha

  • Gerald.T.717
    Gerald.T.717 Posts: 6 🌱
    edited December 2023
    Options

    Hi @Sangeetha.T.629 how does one impersonate a student?

    I have gone thru the docs and the only way to get a student's user context is by having the student login first. We would like to find a way to impersonate a student w/o having the student having to login?

  • Sangeetha.T.629
    Options

    Hi @Gerald.T.717 ,

    Thanks for the update.

    A user can impersonate another user from the Classlist tool. The ability to enable user impersonation is set in the Users tool's permissions. Contact your administrator for more details.

    1. On the navbar, click Classlist.
    2. From the context menu of the user you want to impersonate, click Impersonate.

    Thanks,

    Sangeetha

  • Gerald.T.717
    Gerald.T.717 Posts: 6 🌱
    edited December 2023
    Options

    Is there a programmatic way to achieve this impersonation?

  • Sangeetha.T.629
    Options

    Hi @Gerald.T.717 ,

    There’s no real way to simulate impersonation via an API call

    Thanks,

    Sangeetha