Is there a way to programatically add a user when no one is logged in In my controller, I can add new users when a user with the right privileges is logged in via craft()-&gt;users-&gt;saveUser(), but this doesn't work when no user is logged in.

Is "users/saveUser" the only service method I can use? I would prefer to be able to use my custom one.

EDIT:
code below works fine when I'm logged in as an admin user, otherwise it redirects me to login form, after form submission. Have I missed something in here?

public function actionAddPartner() 
{
        $content = craft()-&gt;request-&gt;getPost();
        $companyId = explode("@", $content['email']);
        $user = new UserModel();
        $user-&gt;username         = $content['email'];
        $user-&gt;email            = $content['email'];
        $user-&gt;unverifiedEmail  = $content['email'];
        $user-&gt;firstName        = $content['firstName'];
        $user-&gt;lastName         = $content['lastName'];
        $user-&gt;pending          = true;
        $success = craft()-&gt;users-&gt;saveUser($user);
        if ($success) {
            // Assign them to the Partner Admin user group
            craft()-&gt;userGroups-&gt;assignUserToGroups($user-&gt;id, 1);
            // Update the Element Index
            craft()-&gt;search-&gt;indexElementAttributes($user);
        }
}
Oh well, totally forgot to allow anonymous access at the top of the controller.
I guess I can leave this answer here in case somebody is as forgetful as me:

protected $allowAnonymous = true;