How to activate a user in a plugin?
You'll need to save the new user before you can activate them. This code should do the trick:

if (craft()-&gt;users-&gt;saveUser($newUser)) {
    craft()-&gt;users-&gt;activateUser($newUser);
}