Thread:Project:Support desk/How can I change group membership from the server?/reply

You can use createAndPromote.php to do this. You'll have to modify it, though.