Hi folks, with Python deprecated and throwing scary warnings to users when it's invoked by Jamf, we're looking to replace our trusty logged-in-user detection command that we use in scripts. Self Service scripts work reliably with $3, but what method are you all using to detect the logged-in user for other scripts? What works reliably every time, and doesn't pick up _mbsetupuser or similar accounts?
Thanks in advance for any suggestions!