# gradereport.user

# UserModule ⇐ Module

Functions for user grades-related actions.

Kind: global class
Extends: Module
Since: 0.2.2

# userModule.getGradeItems(course, [user], [group]) ⇒ Promise.<GetGradeItemsResponse>

Returns the complete list of grade items for users in a course.

Leaving the user and group parameters undefined will load the grade items for all users in the course.

Kind: instance method of UserModule
Returns: Promise.<GetGradeItemsResponse> - The response returned by Moodle.
Since: 0.2.2

Param Type Description
course number The ID of the course to obtain grade items for.
[user] number The ID of the user to obtain grade items for.
[group] number The ID of the group to obtain grade items for.