[eluser]sevengraff[/eluser]
How do I change the groups that a registered user is in? update() just takes a $data array but only updates the user table, not the users_groups table. Also, there is a get_users_groups() but no corresponding set_users_groups().
The docs list both update_user() and update() but I only see an implementation for update().
edit
Oh there is an undocument function, add_to_group( $groupid, $userid ) that will do it. Super cool, just found it in the model, gonna play around with it.