Skip to content

How to use get_users #15

@smehrbrodt

Description

@smehrbrodt

Trying to get an existing user by id.

user_service = BaseUser(...)
user = user_service.get_users({id: submission['userid']})

This fails with:
moodle.exception.MoodleException: Ungültiger Parameterwert

How should the parameters be formatted for the get_users function?

Kudos for this nice project btw, very helpful in working with the cumbersome moodle api.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions