Skip to content

Change User password functionality #3

@ghost

Description

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 !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions