Class User


  • public class User
    extends java.lang.Object
    Class that represents a logged in Powerschool user
    Version:
    1.0.3
    • Constructor Detail

      • User

        public User​(UserConfig config)
        Constructor for a User based off of a UserConfig object
        Parameters:
        config - UserConfig to base the User off of
        See Also:
        UserConfig
    • Method Detail

      • update

        public void update​(UserConfig config)
        Update fields based off of a config
        Parameters:
        config - UserConfig to update from
      • getAuth

        public java.util.Map<java.lang.String,​java.lang.String> getAuth()
        Returns:
        Authentication Cookies for this User
      • newCourseGetter

        public CourseGetter newCourseGetter()
        Returns:
        New CourseGetter based off of this User's courses
      • getUsername

        public java.lang.String getUsername()
        Returns:
        User username
      • getCourses

        public java.util.List<Course> getCourses()
        Returns:
        User courses
      • getPersonName

        public java.lang.String getPersonName()
        Returns:
        User name of the person in real life