How to get info from user endrolled to course

HI supporter,
How I can check each user of courses: This user register to course or add by admin to courses.
Thank supporter.