Class MoodleUserByName
java.lang.Object
org.jdrupes.keycloak.moodleauth.moodle.RestAction
org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleUserByName
Find a user by his (login) name.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Must be public in order for the JSON decoder to work. -
Field Summary
Fields inherited from class org.jdrupes.keycloak.moodleauth.moodle.RestAction
client
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MoodleUserByName
Creates the action.- Parameters:
client
- the client
-
-
Method Details
-
invoke
Invoke the action.- Parameters:
userName
- the user name- Returns:
- the moodle course
- Throws:
IOException
- Signals that an I/O exception has occurred.
-