get_session_key( LS_USER, LS_PASSWORD ); // receive all ids and info of groups belonging to a given survey $groups = $myJSONRPCClient->list_groups( $sessionKey, $survey_id ); print_r($groups, null ); // release the session key $myJSONRPCClient->release_session_key( $sessionKey ); ?>