What is it called when you are enrolled at one college or university but going to another take classes for credit the in?
That's called cross-registration, dual enrollment (often used when it involves a high school student), or sometimes visiting student status. The exact term used may vary depending on the institutions involved.