by Francois Evans.
By default, an Assignment activity will work with students enrolled on the course to which it belongs.
When you set up your Assignment, you could set it only to apply to a Group of enrolled students which you have previously defined.
Alternatively, if you wish to refresh the student accounts enrolled on a course, then you should Reset that course. See http://docs.moodle.org/23/en/Reset_course