Teaching roles
roles (equivalent to roles list) lists the teaching roles you hold across units — each row gives the role, the unit it applies to, and the id OnTrack uses for it. By default it shows active roles only; --all includes roles on units you no longer teach.
The role itself is whatever string OnTrack reports for that assignment on the site — it isn’t a fixed set this CLI defines. A student with no teaching roles gets an empty list.
Full syntax: ontrack roles.
Who you’re signed in as
auth status, user doesn’t report your unit or role counts; use auth status (see Sign in) when you want to confirm the session itself is live.
Full syntax: ontrack user.