Does the user type attribute have to be a question on the assessment?

No, you can pull in any user type attribute, including attributes that do not show up as questions.

Note:

Custom fields are supported.