AdobeConnect-php-api-client
AdobeConnect-php-api-client copied to clipboard
Change User password functionality
Hi,
i was using this library but facing problems using the updateUser to change the password, so i have added this function to do that:#
public function changeUserPassword($email, $newPassword) {
$principal_id = $this->getUserByEmail($email, true);
return $this->makeRequest('user-update-pwd',
array(
'user-id' => $principal_id,
'password' => $newPassword,
'password-verify' => $newPassword
)
);
}
i have used the information provided here: https://helpx.adobe.com/adobe-connect/webservices/user-update-pwd.html
If you want to add to your library, feel free. And thank you very much for your work !!