How to add user to multiple groups

hi all

i am new to solaris

how to add a user to multiple(secondary) groups.

user :anna
Groups : delhi ,mumbai,pune

i need like this in cat /etc/group

delhi::anna
mumbai::anna
pune::anna

i tried using

usermod -a -G hyd anna

that does int work

how to delete user from group in solaris

if i use userdel -r anna gelhi

user is geleted from /etc/passwd

pls help

To Add Anna to delhi, mumbai and pune:

usermod -G delhi,mumbai,pune anna

And to remove anna from group Delhi:

usermod -G mumbai,pune anna

The "-G" list is definitive not additive.
Thx

Add to group

 
# usermod -G hyd anna  

Remove from groups

 
# usermod -G "" anna  

thakq......