You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 21, 2019. It is now read-only.
if (isset($_REQUEST['users'])) {
$response = $XeroOAuth->request('GET', $XeroOAuth->url('Users', 'core'), array('Where' => $_REQUEST['where']));
if ($XeroOAuth->response['code'] == 200) {
$users = $XeroOAuth->parseResponse($XeroOAuth->response['response'], $XeroOAuth->response['format']);
echo "There are " . count($users->Users[0]). " users in this Xero organisation, the first one is: ";
pr($users->Users[0]->User);
} else {
outputError($XeroOAuth);
}
}
To get the user information after connecting with xero?
if (isset($_REQUEST['users'])) { $response = $XeroOAuth->request('GET', $XeroOAuth->url('Users', 'core'), array('Where' => $_REQUEST['where'])); if ($XeroOAuth->response['code'] == 200) { $users = $XeroOAuth->parseResponse($XeroOAuth->response['response'], $XeroOAuth->response['format']); echo "There are " . count($users->Users[0]). " users in this Xero organisation, the first one is:"; pr($users->Users[0]->User); } else { outputError($XeroOAuth); } }
To get the user information after connecting with xero?