hi seba,

i tried calling the addNewUserWithExternalType, heres a snippet of the code:

addNewUserWithExternalType($sessionId, 'Test user name', 'testpass', 'jao', 
'daniel', '[email protected]', '', '', '', '', '', '', '', '', '', 3, 
"Testing Server");

function addNewUserWithExternalType($sessionId, $username, $userpass, 
$lastname, $firstname, $email, $additionalname, $street, $zip, $fax, 
$states_id, $town, $language_id, $baseURL, $jNameTimeZone, $externalUserId, 
$externalUserType){
$user_client = new SoapClient(OPEN_MEETING_USER_URL);
$params = array(
                                'SID' => $session_id,
                                'username' => $username,
                                'userpass' => $userpass,
                                'lastname' => $lastname,
                                'firstname' => $firstname,
                                'email' => $email,
                                'additionalname' => $additionalname,
                                'street' =>$street,
                                'zip' => $zip,
                                'fax' => $fax,
                                'states_id' => $states_id,
                                'town' => $town,
                                'language_id' => $language_id,
                                'jNameTimeZone' => $jNameTimeZone,
                                'externalUserId' => $externalUserId,
                                'externalUserType' => $externalUserType
                                );

                                
$resp = $user_client->addNewUserWithExternalType($params);
print_r($resp);
}

im getting this:

stdClass Object
(
    [return] => -26
)

What seems to be the problem here?


-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/openmeetings-user/-/fpnZXrKa2MwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to