Hi.
I tried to fetch the current users UID for a script
echo "checking Users UID"
UID=id -u $loggedInUser
echo "$UID"
The output is: Desktop/user_info.sh: line 44: UID: readonly variable
Further there was the idea to check if this is a UID between 501 and 1000 to display if it's a local or AD/OD account.
It would be nice if anybody has an idea how I could approach that?!
Thanks,
Maik