ExtendedUser

class ExtendedUser[source]

The extended JSON representation of a user.

email: str | None

The email of the user. This will only be provided for the currently logged in user.

hidden: bool

Can this user see hidden assignments at least in one course.

permissions: GlobalPermMap

The global permissions of the user.

type: Literal['normal']

The tag of this class.

name: str | None

The fullname of the user. This might contain a first and last name, however this is not guaranteed. This might be None if the PII for this user cannot be retrieved anymore.

is_test_student: bool

Is this user a test student.

id: int

The is the id of this user

username: str

The username of this user.

tenant_id: str | None

The tenant of the user