How to create user and assign it to a group with CLI

Hi,

Well i’m trying to create a user from the command line like this:

export RTUSER="rtuser" export RTPASSWD=“rtpassword”
export RTSERVER="http://rt.domain.tld/" rt create -t user set username=test
emailaddress=test@domain.tldpassword=testpwd Lang=‘fr’

The user test is create with success, but still a problem the user is not
privileged so it can not be selected nor to be assigned to a group.
Please can you help me with this

Ali MEZGANI
Network Engineering/Security
http://securfox.wordpress.com/