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.

email_verified: bool | None

Whether this user’s email address has been verified. None when the requesting user is not the owner of this account (i.e. only the logged- in user’s own record includes this).

hidden: bool

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

is_managed_by_lti: bool

Whether this user’s identity is linked to an LTI provider. When True, the name and email are managed by the LMS and changes made locally will be overwritten on the next sync.

is_managed_by_saml: bool

Whether this user’s identity is linked to a SAML provider. When True, the name and email are managed by the SSO IdP and changes made locally will be overwritten on the next sync.

permissions: MergedGlobalTenantPermMap

The global and tenant 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

The tenant of the user