'{username}', 'apiKey' => '{apiKey}', )); // Set up Identity service $service = $client->identityService(); // Retrieve existing user $user = $service->getUser('{userId}', UserConst::MODE_ID);