class KalturaAdminUserService in Kaltura 6.2
Hierarchy
- class \KalturaServiceBase
- class \KalturaAdminUserService
Expanded class hierarchy of KalturaAdminUserService
File
- kaltura_client/
KalturaClient.php, line 4629
View source
class KalturaAdminUserService extends KalturaServiceBase {
function __construct(KalturaClient $client) {
parent::__construct($client);
}
function updatepassword($email, $password, $newEmail = "", $newPassword = "") {
$kparams = array();
$this->client
->addParam($kparams, "email", $email);
$this->client
->addParam($kparams, "password", $password);
$this->client
->addParam($kparams, "newEmail", $newEmail);
$this->client
->addParam($kparams, "newPassword", $newPassword);
$this->client
->queueServiceActionCall("adminuser", "updatepassword", $kparams);
if ($this->client
->isMultiRequest()) {
return null;
}
$resultObject = $this->client
->doQueue();
$this->client
->throwExceptionIfError($resultObject);
$this->client
->validateObjectType($resultObject, "KalturaAdminUser");
return $resultObject;
}
function resetPassword($email) {
$kparams = array();
$this->client
->addParam($kparams, "email", $email);
$this->client
->queueServiceActionCall("adminuser", "resetPassword", $kparams);
if ($this->client
->isMultiRequest()) {
return null;
}
$resultObject = $this->client
->doQueue();
$this->client
->throwExceptionIfError($resultObject);
$this->client
->validateObjectType($resultObject, "null");
return $resultObject;
}
function login($email, $password) {
$kparams = array();
$this->client
->addParam($kparams, "email", $email);
$this->client
->addParam($kparams, "password", $password);
$this->client
->queueServiceActionCall("adminuser", "login", $kparams);
if ($this->client
->isMultiRequest()) {
return null;
}
$resultObject = $this->client
->doQueue();
$this->client
->throwExceptionIfError($resultObject);
$this->client
->validateObjectType($resultObject, "string");
return $resultObject;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
KalturaAdminUserService:: |
function | |||
KalturaAdminUserService:: |
function | |||
KalturaAdminUserService:: |
function | |||
KalturaAdminUserService:: |
function |
* Initialize the service keeping reference to the KalturaClient
*
* Overrides KalturaServiceBase:: |
||
KalturaServiceBase:: |
protected | property | * |