public function setPassword(string $employeeId, string $password)
    {
        $result = $this->setPasswordInternal([
            'employee_id' => $employeeId,
            'password' => $password,
        ]);
        $statusCode = (int)$result[ 'statusCode' ];

        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }

        $this->reportUnexpectedResponse($result, 1490808839);
    }
public function setPassword(string $employeeId, string $password)
    {
        $result = $this->setPasswordInternal([
            'employee_id' => $employeeId,
            'password' => $password,
        ]);
        $statusCode = (int)$result[ 'statusCode' ];

        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }

        $this->reportUnexpectedResponse($result, 1490808839);
    }
public function setPassword ( string $ employeeId , string $ password ) { $ result = $ this -> setPasswordInternal ( [ 'employee_id' => $ employeeId , 'password' => $ password , ] ) ; $ statusCode = ( int ) $ result [ 'statusCode' ] ; if ( $ statusCode === 200 ) { return $ this -> getResultAsArrayWithoutStatusCode ( $ result ) ; } $ this -> reportUnexpectedResponse ( $ result , 1490808839 ) ; }
Set the password for the specified user.

@param string $employeeId The Employee ID of the user whose password we
are trying to set.
@param string $password The desired (new) password, in plaintext.

@return array An array of password metadata
@throws ServiceException
Set the password for the specified user .