function CampaignMonitor::userGetApiKey in Campaign Monitor 6.3
Same name and namespace in other branches
- 6.2 lib/CMBase.php \CampaignMonitor::userGetApiKey()
Parameters
$site_url The base URL of the site you use to login to : * Campaign Monitor. e.g. http://example.createsend.com/ * @param $username The username you use to login to Campaign Monitor. * @param $password The password you use to login to Campaign Monitor. * @return mixed A parsed response from the server, or null if something * failed. * @see http://www.campaignmonitor.com/api/method/user-getapikey/
File
- lib/
CMBase.php, line 1125
Class
- CampaignMonitor
- The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.
Code
function userGetApiKey($site_url, $username, $password) {
return $this
->makeCall('User.GetApiKey', array(
'params' => array(
'SiteUrl' => $site_url,
'Username' => $username,
'Password' => $password,
),
));
}