7 calls to db_get_user_id_from_cwid()

user.module in modules/user/user.module
user.student.inc in modules/user/user.student.inc
Keep track of functions dealing specifically with student user management
user_edit_student_user_form in modules/user/user.student.inc
Let the user edit a studentuser's information.
user_edit_user_advisees_form in modules/user/user.module
This form lets us populate the advisor_student table
user_edit_user_advisees_form_validate in modules/user/user.module
Check to see if we entered a CWID which doesn't exist in students table.
user_edit_user_form in modules/user/user.module
Let the user edit a user's roles and other information.
user_student_edit_student_courses_form in modules/user/user.student.inc
This is the form which we will use to manage a student's courses they've taken.