
# TODO: manage user and group using mac commands

# list users
# dscl . -list /Users uid

# display user information
# dscl . -read "/Users/<demouser>"

# create a user, it will ask you the below information

# delete user




# get list of groups
# dscl . -list /Groups gid

# display group information
# dscl . -read "/Groups/<group>"

# add an user to a specific group
# sudo dseditgroup -o edit -a <user> -t user <group>

# remove an user from a specific group
# sudo dseditgroup -o edit -d <user> -t user <group>

# Check if the user is in the specified user group.
# dseditgroup -o checkmember -m <user> <group>

