by A W.
Tim,
In my test I was first creating test users, then enrolling them in courses, all on a test build so by definition none of them would have ever logged in. I'm not sure where the pre req “user must be logged in” you mention appears?
I'm wondering if you're operating in some kind of different environment where the user doesn't exist until they login, and obviously cant enrol a user who doesn't exist?
Thanks,
Alex