Class MoodleUserByName

java.lang.Object
org.jdrupes.keycloak.moodleauth.moodle.RestAction
org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleUserByName

public class MoodleUserByName extends RestAction
Find a user by his (login) name.
  • Constructor Details

  • Method Details

    • invoke

      public MoodleUser invoke(String userName) throws IOException
      Invoke the action.
      Parameters:
      userName - the user name
      Returns:
      the moodle course
      Throws:
      IOException - Signals that an I/O exception has occurred.