With more than one tailnet or a shared machine, I think it is easy to lose track of who this device is logged in as. tailscale whoami answers that in one line.
tailscale whoami
It prints the machine and the user for the current device. The help text explains it is the same as running tailscale whois against your own Tailscale IP, without having to look up that IP first.
For scripts there is a JSON version:
tailscale whoami --json
Where it helps: before running tailscale set with something like an exit node or advertised routes, check you are on the account you think you are. It also helps on a server that was set up by someone else, or one with a tag, where the owner is the tag rather than a person.
An older client may not know this subcommand yet. Then tailscale whois with the address from tailscale ip -4 gives you the same answer, and tailscale switch --list shows every account the device knows.
Further reading: Tailscale CLI