[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] adduser and deluser for cube3 ?



> Is there a command line version of the webversion of adduser 
> and deluser for the cube 3? We would like to create an 
> automatic add user and delete user based on a script that 
> logs in via telnet, is this posible, if so how? I have looked 
> at the vadduser for raq3 but that is for virtual hosts, the 
> cube 3 does not have this facility.

If you are wanting to add users that appear in the Cobalt interface,
etc, etc. Then you have to do it using sausalito's interface.

You have to get a good understanding of how sausalito and the cce
interfaces work on the Qube3, to get you started:

$oid = $cceClient->create("User", array("name" => $username, "sortName"
=> "", "fullName" =>$username, "password" => 
$password, "localePreference" => "browser", "stylePreference" =>
$stylePreference, "description" => "Automatically Added User"));
$errors = array_merge($errors,$cceClient->errors());

This is the command and how to pass your settings for PHP, but remember
you have to interface with cce, etc, etc first.
That's way beyond the scope of what I'm gonna write here!!

Regards,

Andy
andy@xxxxxxxxxxxxxxxxxxxxx
HOWTO's PKGs and info --> http://www.raqpak.com/ <-- for Qube and Raq