the SOAP Calls that are manipulating the Users need an Admin Account for the manipulation, that only a User with Web-Service User-Level. Die you use an Admin Account when you did authentificate via SOAP?
Sebastian 2011/6/28 Daniel Jao <[email protected]>: > 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. > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.wagner-sebastian.com [email protected] -- You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. 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.
