Here you go:

dseditgroup -o edit -u yourusername -p -a <em>username</em> -t user group