We use this script like this and this is how it works Universal (Intel
and ARM) in our environment #/bin/bash#Get the current user
detailscurrentUser=$(who | awk '/console/{print $1}')#Get the user UUID
numberuserNameUUID=$(dscl . -read /Users/$curre...